People behave in predictable ways in specific environments. Social media brings out the same side of human nature as does a blank wall and a Sharpie in a gas station men's room.
People pretty much are toxic.
It's generally: normal people thrown into a garbage dump with a few psychotic basket cases, some attention-seeking ten-year-olds, some bots, viral-marketers, narcissistic grifters... all with pseudonymity, and scant moderation.
If you were to lock twenty Tom-Hanks-level-affable people, into a room with three people who continually rant, push buttons, interrupt you, tell obvious lies, and spout inanities, eventually you'll have 23 badly behaved people.
The design of the internet, especially its current incarnation, incentivizes stupidity and vitriol.