I think the problem has nothing to do with his beliefs at all, but rather those of his employer. Until his supervisor learned of his beliefs, there was no question whether he was doing good work. When people can be fired for doing good work, something is wrong (although I’m not so sure the anti-discrimination law is the best remedy).
No doubt a whole host of laws come along with that money.