Of course they did.
Either that or they are even stupider bastards then I give them credit for.
A quick Google of history, a read of a couple of books would have given them a hint of what Israel's reaction to October 7th was going to be.
It doesn't matter whether you think Hamas/Israel is right or justified or any of that. It doesn't take a genius to figure out that if you cross the border into your technologically advanced neighbours' (who you have an uneasy truce with) territory and proceed to rape and kill a bunch of their citizens they are going to respond with extreme force.
Hamas are either stupid pricks who got their people killed through arrogance and hatred or evil fucks who deliberately sacrificed thousands so they could whine.
Israel is a bully who is defending what it thinks is its territory and now it has reduced Gaza to rubble, and will probably take the lot.
And what exactly is the world going to do about it? Pass some more resolutions? Issue some warrants? Sanctions? Not with the US on their side. You are all spitting chips about Trump at the moment but they are still the dominant power. Fuck all, that is what the world is going to do about it.
They are going to bluster and make noises. Look at Ukraine. What has anyone actually done? Fuck all. Europe combined could stop Russia. Hasn't though has it? So you sacrifice those civilians to keep yours safe.
Because, quite rightly no-one wants to actually hit the real buttons. So Israel will probably finish off Gaza WHEN the ceasefire breaks, take the lot, and the Middle East will stay the clusterfuck it has always been.
We sit in the West and pretend that we care. But we don't, not really. We don't want to DO anything. Just moralise and tell the people in the trenches what they are doing wrong and how they should be doing things.
None of it matters anyway. Humans will always find a reason to hate and fight each other. These excuses are just the most recent.