Old joke: There are 256 million computers in the world, and 255,999,998 of them have unique configurations. (There are two in Marion, Iowa that are identical.)
Fundamentally, when you get into systems of this complexity, it is literally impossible to make them perfect. And, when they screw up, they are mostly beyond the capability of current expert/AI systems to diagnose. It still requires a human brain with knowledge and experience. It really is kind of amazing that they work at all.
I've seen where mathematicians have done the math and shown that it is literally impossible to prove any non-trivial program is error-free. That's not saying that it is impossible to create the perfect program. But, that it is impossible to prove that it is without error. And, therefore, as a practical matter, every piece of software very likely does contain errors and oversights.
And that leaves out all the other sources of potential issues. It could be flaky hardware, in any of dozens of components. Malware. A naive user blindly clicking on things. It could be as random as dirty power. And, the occasional cosmic ray does, in fact, flip a bit that turns out to be important.
But, the main thing is just general complexity. If you want a device that does just one thing, we could build those. For example, we used to build dedicated word processing machines. We could have kept doing that. And, over the course of a few more years, those word processing machines probably would have been really rock solid. But, if you wanted to lay out a brochure, you would have had to buy a separate machine from the word processor. And, if you wanted to use a spreadsheet program in your business, you would have had to buy a separate spreadsheet machine. Etc.
Each one would have likely become pretty robust in its assigned task. But, if you needed to transfer data between them, you would have started building up the complexity towards our modern computers. At many times the cost.
Since the underlying hardware of each of those devices would be largely identical, it makes obvious sense to use a small number of general purpose devices that can do all of those tasks and more. At a much reduced cost, you can have a machine that will be able to do things years from now that you didn't expect to want to do when you bought it.
Windows is a bit of a victim of its own success. It has to deal with by far the widest range of software and hardware. Which includes the widest range of quality of those hardware and software products. Given the sizes of the markets, a lot of hardware and software is never made compatible with Linux or Macs. Those users have a much smaller pool to choose from. That reduces complexity, which usually increases reliability, which can be a great feature all its own. But it also reduces choice. So, sometimes they have to learn to do without. Depending on what it is and what they need it for, that could end up being a deal breaker.
If you want flexibility, you are accepting complexity. And that makes computers difficult, sometimes.