And yet, we distinguish both morally and legally between actions taken with direct intent and with secondary consequence.
If I get attacked in the street and I defend myself, and in the course of doing so I punch someone and they fall down, crack their head on the pavement and have a stroke and die, it would be seriously unjust to suggest I had murdered them.
Yet if I started a fight with murderous intent, and made the same punch, and that person fell and died, it would be just to suggest I had murdered them (even though the pavement being irregularly shaped was what caused their actual death)
I don’t think most people seriously think that it is unjust that Israel responds to the events of October 7. Which was also, very obviously, murder. Now if Israel have the right to defend themselves and strike back in consequence, and are aiming at legitimate military targets, then no, collateral damage is not murder.
I don’t know what the specific circumstances of those events referred to above are- I don’t know why the snipers did what they did- but part of what is making this conflict so awful is the blurring of lines by the use of human shields. If the IDF are targeting legitimate Hamas targets (even if they don’t present an immediate threat) and human shields die in consequence, it’s not murder. Not legally, not morally.
Unless in your view all war is murder as such (which again I think diffuses the meaning of the word), in which case I’m not sure what retaliation you think would have been a reasonable course after October 7, but I guess that would be a separate discussion.
Gazans aren’t (in the main) being murdered. They are being killed. The Israeli’s on October 7 were legitimately murdered- well with the possibly exception of those members of the IDF who it could be argued were killed as enemy combatants- but then at the time Hamas and Israel weren’t at war, so at the very least it’s an act of aggression.