You cannot compare the two conflicts as like for like. The Ukranian military is uniformed and distincly separate from the civilian population. The Russians are targeting the civilians as an obvious war strategy. Hamas is the elected government of Gaza as well as being its military. They don't distinguish themselves as being separate from the civilian population and have shown on October 7 that they are a terrorist organisation. If Israel is to combat Hamas and Hamas is using civilian infrastructure as its fortress then the Palestinian civilians are unfortunately going to get caught in the crossfire. The simple fact is Hamas don't care about their responsibilities to their people, they are just more martyrs in the pointless struggle to extinguish Israel as a nation.