No he was fired for not agreeing with other people on a topic completely unrelated to his responsibilities. Software liberalism at its finest.
If a person has responsibilities as a representative, then there isn't a clear cut separation between their private conduct and that representation, and they have to be aware of that and accept it, however reluctantly that may be. Anything that leader says and does may be interpreted by the public, rightly or wrongly, as being part of the representation.