Google's business model is fundamentally based on data mining as much as possible about their users, and what's changed in the past couple years is (a) a much greater awareness of the potential negative consequences of this data collection and (b) the sense that the American internet giants are becoming unstoppable juggernauts.
The hate against Google was inevitable.
By firing James Damore, by allowing YouTube videos to be demonetized for holding the wrong opinions, etc. Sundar Pichai has destroyed the bonds of trust. It takes backbone to stand up to the ideologically possessed who are determined to play the zero sum game and to persuade them that their needs can be more sustainably met by other means. Sundar Pichai has no backbone! Nobody has any respect for a weak leader who habitually chooses the easiest path without regard to the long term consequences.
Do you honestly believe that if Pichai had kept Damore around that it would have engendered good relationships with "the community"? If so I hate to break to you but "the community" is a lot more than people who think like you.
You see, the point is, it doesn’t have to be.
Saying "the point is, it doesn't have to be" is like saying "Apple doesn't have to be a designed-focused company." True, they don't have to be, but they are, and that is a huge reason they are successful.