Your boss sounds like they have an extremely rigid view of what emotions are and aren't "correct" in any given setting. Sounds controlling, and lacking a fundamental understanding of reality, people, and basic empathy.
I don't think all bosses are like this, but the ones who express these views in critical junctures that reveal their character and world views as such, I think it's safe to say that they indeed are intellectually and developmentally blunted (of the emotional intelligence, interpersonal relationship, and leadership dynamics variety) in a manner that can cause legitimate harm to anyone under their authority and has to take orders from them.
I don't think all bosses are like this, but the ones who express these views in critical junctures that reveal their character and world views as such, I think it's safe to say that they indeed are intellectually and developmentally blunted (of the emotional intelligence, interpersonal relationship, and leadership dynamics variety) in a manner that can cause legitimate harm to anyone under their authority and has to take orders from them.