Lately it feels like there's a growing perception that Stack Overflow is not a nice place
And that's all there is. Perception. Is not true. That's why you should see hard statistics about the state of the site. There were only 12k comments flagged as rude or offensive on the entire 2016 (which compared with the 238k comments flagged, is just 5% of all comments flagged), a thousand per month, a little more than 1 per hour... while in an hour I recall than around 2k comments are posted, just 0.05% of all comments are flagged as rude (compared to the 27 comments flagged every hour on average, 1% of the total of comments posted). So, SO may appear to not be a nice place, but rudeness has nothing to do with it*.
* Unless you consider rude to be told that your contributions aren't up to the standards of the site.