They are a victim of bullying when they've been under decades of illegal occupation. Hamas is an awful organization, but it was only formed as a result of ongoing brutal oppression. When you keep punching someone in the face, sooner or later they'll start punching back, and sometimes they'll fight dirty. That doesn't make them good, but the bully is still the one who kicked things off in the first place and the one who should be first and foremost held responsible for the situation they created.
Hamas individual victims get my full sympathy; they're victims of both Hamas and Israel. Israel as a state does not - without their brutal oppression, extensive war crimes, and apartheid regime, there wouldn't be any Hamas in the first place.
They don't even need to detect them - once they are common enough in training datasets the training process will "just" learn that the noise they introduce are not features relevant to the desired output. If there are enough images like that it might eventually generate images with the same features.