As a “smart” person in high school, that led to various “rewards” such as respect, adulation, advancement, affirmation, etc. These things feel good and so my naive self equates being smart with being happy.
When less naive self perseveres, he realizes that the connection between smart and those feel good rewards is more arbitrary than I’d like, and I have experiences more like my current situation where I’m the “smart guy that holds this product together and understands this domain best” but that has led to others being suspicious and trying to take control and to being sidelined.
So in the end, it just so turns out that smart can go with happy situations or unhappy situations. Our selection bias confirms the happy ones as causal and is offended/confused when it’s not.