Sounds like they're going through some shit and using toxic online interactions in an effort to try to ameliorate their internal struggles. It reminds me of a wounded animal lashing out.
Doesn't justify them, but it does give more context so people can respond accordingly.