And Im pretty sure getting the city flooded by a loon with a messiah complex is considered an act of war.
Mutants ARE dangerous no matter how you look at it. You can't have the x-men pull this shit and then turn around and have them play the victim card when people freak out.
Mutants need to be held accountable for their actions but the x-men don't think they have to meet anyone half way. They're gifted and the future and that's the end of it. Humans can just GTFO if they don't like it. It's no wonder that radical extremists attack them.
Im not advocating the extermination of all mutants but the situation is so out of the ordinary that conventional logic and racial allegories just don't fly. All it would take is the mutant population making a show of good faith but we don't get that. It's always "waaaaaah people don't like me for my uncontrollable death eyes" or some kid in some town who farts and turns his entire neighborhood into zombies.
If slug girl signed a paper when she got her powers that showed she was just slug girl then maybe the 50 foot tall robot wouldn't show up at her door step when the next block over gets atomized. Why don't mutants work with scientists to find a way to predict mutations so a kid doesn't accidentally blow up while waiting in line for concert tickets.
Black people were mistreated for the color of their skin. Mutants are mistreated because they pose a very clear and often global threat.