You hit on the one reason
MS is great at marketing.
People know the name. And with the leveraging they have done over the years REQUIREING manufacturers to include Windows preinstalled helped this happen.
If you can walk into Best Buy and get a computer, what is available if I want something inexpensive? You got it. Windows.
Is does windows functionally do ANYTHING better than MAC os? No, but MAC has always be terrible at marketing. Between that and the decades of proprietary hardware is why MAC is not a real threat to windows.