But, in fairness, not as big as a leap as the OP from three unconnected people got fired for behaviours some people might consider to be a matter of conscience to people holding certain views are effectively barred from senior positions in the US.
In practice, the examples aren't very good: John Derbyshire was writing controversial material on race for years before National Review decided some of his articles in other publications were damaging their own reputation, at which point he promptly got a job at another publication that saw his extreme racism as an asset; Eich's resignation was extremely unusual and has the obvious counterexample of Kim Davis' job being well protected even when her political stance meant refusing to fulfil some of its requirements, and I'm not convinced that senior executives sometimes quitting over embarrassing revelations about their private life is really a sign that their employability is conditional on them holding certain sets of political views.