"Lose their jobs" has emotional impact precisely because one envisions a hard-working, paycheck-to-paycheck breadwinner with minimal savings. The inability of a man who'd been around for Netscape's IPO to advance from CTO to CEO -- whatever you think about whether that's good or bad, or whether Eich had a way to recover the situation, or anything -- is a very different matter, and implying a comparison between the two cases leads to unclear thinking.
Once we've made the distinction clear, we can say, no, it's unjust for a non-management worker who's not representing the company to be fired by their manager over political activities, and no, Eich "losing his job" isn't precedent because it's not at all related.
Hold on, I'm shedding tears I'm so frustrated for him. Maybe he'll have to retire as a multi-millionaire at 65 instead of 60 now.
Serious question: is it also "expected" that people will lose their jobs because of those things, like Brendan Eich?