Microsoft fumbled the Windows ball so hard, everybody i know got rid of their Windows PC and either went to Android/iPhone or got a Mac or Linux.
At work we can freely choose which OS we run on our machines. Guess what everybody wants since IT got forced to upgrade each laptop to Windows 11? Macbook Pro.
I personally am running Linux just because I already know how to use it but macOS (despite its flaws) is way less intrusive and much faster than Windows. Even Microsoft's own programs (Office 365, Teams) are running faster and have better UX on macOS than on Windows.
Most devs choosing Macbooks has a lot to do with culture. It's boutique, cool, and all the other successful people have it. Yes, officially it's always for technical reasons, but no one would ever admit to get something just because it's shiny.
10% of Microsoft's revenue is Windows. Azure is closer to 40%. Their focus has shifted hard from software to services. Azure is making them around $100B and growing. It'd be far more surprising if they were putting their focus back to Windows in a saturated market given all the incentives they have to chase bigger revenue elsewhere.