What Eich did was not illegal. It was disagreeable to many. But tolerant people would chose instead to strive the more for their position without directly attacking him and his career. That is what the intolerant do. Intolerance says "I disagree with your actions and your thoughts therefore I must prevent you from having any power or influence in our society." Tolerance says, "I disagree with your thoughts and actions, therefore I will work to persuade you otherwise. Failing that I will find a way to coexist with you, despite our disagreements. We will build a society that that respects the differences, and protects the weak from abuse by the strong, regardless of their beliefs."
No one expects Eich to get married - he wanted to prevent other people from getting married because they are gay.
His personal actions were not illegal, but the movement he supported (banning same sex marriage) was deemed to be unconstitutional.