> California courts had already ruled that same-sex marriages were valid under the California constitution [...]
Actually, it was the other way around. They had ruled that prohibiting same-sex marriage was invalid under the California constitution.
I wonder if people like you are familiar with what California Proposition 8 was. California courts had already ruled that same-sex marriages were valid under the California constitution and such marriages were already taking place. Prop 8, funded in part by out-of-state conservative religious groups, sought to modify the constitution to define marriage as solely between a man and a woman. That is what Brendan Eich was for and that's what he supported with his money - the legal imposition of a specific belief on a historically discriminated-against minority. It's certainly his right to do so but it's hardly compatible with holding the top leadership and representative position at Mozilla. If you were the leader of a Catholic charity but expressed strong pro-choice views, you'd probably have trouble holding onto your position as well.
As a meta point, speaking of discriminated minorities, you should probably avoid calling people who, however vocally, express views different than yours on the internet a 'lynch mob'.