Because smart moral people don't let themselves be used for evil and smart people also have options to work elsewhere. The guy knew he was going to get fired and he did not care because he was already determined not to work for an evil employer.
He could have left quietly, but he decided to take a personal hit to bring awareness to the issue. That makes him a hero in my eyes.