It comes down to market share. For smart phones, you basically have two options for OS, and Apple is dominant in many markets. For desktops, Microsoft's position is even more dominant. When you have such a dominant position, there's a lot of room to abuse that position, so the more restrictions you should have on being able to abuse that position.
Linux has a vanishingly small market position vs Windows and Android/iOS, so it's not really a competitor when it comes to anti-trust.