It's just the politics of power at the workplace. The guy is clearly a tool, but there's not too much you can do if you're interested in a career there. Just log it for future reference.
FWIW the older you get, the more clearly you are able to see the good people and the d1ckheads for what they are, and the more people you realise you should have just punched in the mouth at the time.