A lot of the anger pent up in younger males is indeed escalated by sexual frustration. Depending on your testosterone levels this can be a real crazy mix. Especially when going through puberty on top.
Some sort of team sports or team friend based events can help, with some sort of sexual activity also. Physical activities are better than playing MMOs with a group of friends, and therein lies one of the modern problems faced, many teens these days are shrugging off ANY sort of outdoor activities and spending 24/7 online/playing games. How hostile are MP games these days anyone? Yeah... The male mind/body can on average require different maintenance than the female. I'm not even talking sexually here, but interacting in say a 5 a-side football (soccer) game with friends and letting off some steam/aggression and competing does wonders for the psyche. If you can step outside an ideology and even just observe the animal kingdom and how the male animals interact, fight, tussle, etc, this is hormones/nature/evolution at play. It applies to humans too, and that is biology/fact. There's always a scale and there is always outliers, so surely I don't need to preface that with a dumb #notall.... It's science and it has massive validity in explaining human behaviour.
Couple this with some in modern day society mass-shaming men for being sexual (I'm sorry but some of the bashing that goes on in gaming is out of order for "lol anime avatar/u lyke Bayonetta?!"). Also, sex toys/masturbation and such can still be taboo and often guys are mocking other guys for not banging "10 real chicks a week". Before anyone jumps down my throat about gaming diversity in this industry, yes, I'm on board with that as well, but some cannot see the light at the end of the tunnel for closing their eyes. Many of these "lonely", sexually frustrated males end up getting a "rise" out of lewd dressed video game characters and anime/etc. Sure some can arguably take it too far, and genuinely be creepy, but again, blanket-bashing everyone who enjoys a bit of skin is only reinforcing a shame culture which in turn reinforces further "radicalisation" of these young men to group together anonymously and hate on others. Usually hating on those they perceive to be mocking them/making them feel insecure ("feminists" taking away boobs in games!).
It's not a surprise many of those who take it further than just 'shitposting', end up being loner single males with an apparent complete lack of a sex life. This shell fits many that make news headlines. Shitposters and trolls are nasty, but let's be honest and say there is a difference between words, and actual actions (violence/killing). Any time there is some shooting or violent attack it's some socially awkward loner who's lucky to have had one girlfriend. So if anyone actually cares about trying to prevent these sorts of people, a small part to try and play in that is around sex and encouraging social interaction/bonding with other males during education. Going around shouting "toxic masculinity" is the one thing I genuinely do think is incredibly dangerous when aimed at the wrong people. It takes men who are already insecure and doubles down on mocking them for their over-compensating. There are real dickhead guys in life who could do with getting knocked down a peg for acting like bullies, but these often tend to be the guys that strut about in nightclubs trying to fight everyone. Not the loners sitting at home behind a keyboard trolling behind an avatar.
2 cents from someone studying psychology who is keenly aware of the severity of sexual issues in teenagers, and even adults, in the modern world. Take it or leave it, I know this isn't a one shoe fits all (above only applies to people who have a chance of being "helped"), but I thought sharing these words would add more than just saying "fuck horrible people". I don't doubt many horrible people fit into the categories above, but very rarely does trying to combat a complex problem get solved by just shouting something at someone.