Yes, it's complex software that has to interact very closely with the hardware and it's written in C++.
Those aren't excuses, but they are explanations. The competition from Adobe crashes a lot, too. It's not necessarily a competence or money thing.
Also, the windows taskbar in windows 11 crashes a couple times a day for me. And Microsoft is one of the biggest tech companies in the world. And, I'm assuming, very talented engineers worked on that taskbar.
Some very talented engineers work at Microsoft, that much is clear. Whether any of them work on the new parts of Windows 11 is less clear...