That was for tying IE to Windows, and it was also done while there were paid web browsers competing with them. Then they forced OEM PC makers to bundle IE or get dropped as a customer for Windows licenses.
Microsoft owns most gaming PCs, too, with Windows which is increasingly ad-ridden. The existence of some Linux-based alternatives is still a small percentage compared to Microsoft’s dominance here.