Depending on the project, it's quite demotivating. Bad code, last-minute work, no QA to help. Some bosses really like to be praised and to have sycophants. Some bosses tend not to value some employees compared to others. When someone is demotivated, instead of helping them understand the problem, they do things to demotivate them further.
Senior devs with little say, allowing baseless ideas from inexperienced people.
At times, if you're not from the LEFT, people won't like you, even the management. They like to say they love communism but live in a capitalist company. They live in Narnia in certain aspects of life.
There's a lot of whining when you're direct with people; some people get offended by simple advice.