I often was unpleasant at work, and in hindsight, that was an error on my part. Folks, especially managers, didn't want to hear what I had to say, so they didn't, whether I ended up being right was irrelevant.
I made the mistake of thinking being right consistently was a plus. But if you aren't heard and understood, it's pointless. And the futility of it made me more aggressive and outspoken and ignored.
Managers often are managers because they learned how to play the game, had an early rabbi, and didn't worry about facts and being right.