Is this cognitive dissonance, or is this just people being normal?
You pursue business strategies as a profit maximizing business person concerned with outcomes for your company and investors. You comment on the regulatory/political matters as a pro-social citizen concerned with societal benefits.
Cognitive dissonance tends to occur when attempting to avoid hypocrisy... and doing mental gymnastics to make it so there are no clashes between your different perspectives.