Take Safari on iOS, for example—it's super restrictive. You can't even use a different browser engine; everything's just a Safari wrapper.
On the flip side, Google, with its Chrome and Android flexibility, gets a lot of flak for the same kind of security efforts.
Bottom line is both companies are only doing it for their own greed and profits, but Apple gets a high-five for being all about privacy, while Google gets the stink eye for being too controlling. It's incredibly frustrating to see this double standard.