You could imagine a different algorithm that promoted peaceful, thoughtful interactions. But that would have led to the death of Facebook, twitter, news networks, etc.
We may in fact be here due to sheer greed. The media companies have profited by creating discontent in our society rather than content.
[1] >>45191517