Toxicity is an unfortunate and expected part of any kind of competitive setting. Dealing with defeat (as an example of what could cause this) is often something many people cant actually process properly, and there have been many circumstances where those people straight up quit the game or even blame others for the mistakes that they have made.

Source: N4G PC Overwatch toxicity and the privilege of not caring about endorsements