I've experienced it a number of times in different games across different platforms - sadly any community will have an element to it which is simply put toxic! On Xbox there are tools to help, reporting to the enforcement team is an option where the behaviour
will be investigated & if serious enough sanctions will take place. You can also mute & block people as well which lessens the chances of that account getting to you.
Beyond that I'm a fairly relaxed kind of person, if someone's trolling in a game I've got stacks of games around that I can just as easily jump into in order to escape those people. Life's too short to waste on people who get their kicks off of ruining
other's fun!