Yeah, and bad companies. But a leader has to lead. And it wasn't just employees having issues. The CEO is the face of the company, and if they can't lead either employees nor can they effectively be the face of the company, they have to go.
> Yes, because his opinion on gay marriage is irrelevant to his work as a CEO, just as my activities on the weekend should have no bearing on my job.
Your activities don't involve being a leader or being the face of the company. If you can't do that, you can't do your job as CEO. This happens all the time. See Equifax as the latest example. The CEO wasn't personally responsible for the security issue. But he was the leader, and his priorities sets the companies priorities. He leads, and his failure in leadership is what fundamentally failed the company.
If you think a CEO and a junior level employee have the same responsibilities and are graded on the same metrics, you are sorely mistaken.