Let's talk about the reality of "targeting Hamas".
https://www.972mag.com/lavender-ai-israeli-army-gaza/
This is just too blatantly on-the-nose pure evil to be a Black Mirror episode.
It's also just pretty obvious that no one participating in this could actually think they are targeting "Hamas terrorists". Not when you know you are deliberately bombing civilian residential buildings full of sleeping families, just because a computer somewhere tagged someone in that building be
potentially connected to something.
(Let's also remember that Hamas was the official government of Gaza, so every bureaucrat and secretary working for the government is very likely to have some connection to "the military wing".)
That's not a process to "target Hamas", that's a process to create the maximum possible number of "legitimate" targets, and then the maximum possible amount of collateral death and destruction around those "targets".
In other words, this is a thin veil of plausible deniability. This is how you tell a military to do a genocide, without telling them to do a genocide.
This was okay, because the AI said so. Everything was a legitimate target.