Google, on the other hand, makes some money selling stuff to consumers, but they make a lot more money selling your data to whoever wants to buy ads. That's the business they're in.
No one is saying "Apple is inherently good and Google is inherently evil". They're both amoral massive corporations that care about profits above all else. It just happens to be the case that Apple makes more money when they protect user privacy, and Google makes more money when they violate user privacy.