Code reviews, aka opportunities for dickheads to demonstrate how clever they are.
"Did you know you can replace that entire function with a regex?"
"Did you know you can replace that entire function with a regex?"
This certainly does happen in a team with a bad culture/morale, but IMO it's just a symptom of the wider issues.
But yep, code reviews do make situations with bad morale worse IMO.
If people are giving crazy suggestions, or resenting good ones, something is seriously wrong with your team.