Earlier quoted context omitted.
THe reason these "international laws" are accepted by majority of modern nations is because they are somewhat reasonable and allow parties to military conflicts to wage military campaigns while attempting to minimize civilian casualties. If the laws are rewritten to state "you are never allowed to attack a hospital or a school. No exception", then what will follow is one party to the war will put their military insta…
Regardless of any second-order effects, the truth on the ground is that many thousands of innocents are suffering, and I have a hard time seeing any societal configuration where civilians can be legally blown up or starved en masse as anything but immoral. If a terrorist government is embedded in your population centers, it should not be legal to raze those population centers in retribution.
Doesn't your argument boil down to "wars are not moral"?
When the Iraqis and the US were besieging and pounding Mosul, was there a lot of discussion about the suffering of the innocents? Did the US or anyone else air drop supplies to them or send aid trucks into Mosul? Maybe- but I don't recall.
Let's not forget that ISIS was thousands of miles from the US and the US was under no direct threat. Contrast that to an enemy much stronger in numbers and arms vs. ISIS 15 minutes from your cities.
This is just evidence to what is the "standard" in how wars are waged in similar situations.
Before the Geneva convention, and obviously after the Geneva convention, some countries/armies would just fire artillery into the besieged city and drop bombs and starve them until there's no more resistance. This would be the Russian or Syrian approach which they copy-pasted many times in the Syrian civil war and in Ukraine (by both sides). Israel is not doing that.
All that said, I think Israel should strive within reason to facilitate aid delivery to civilians. It is doing that but it can probably do more. There are some portions of the Israeli public that think that after Oct 7th the "enemy" should be brought to their knees by any tactic but I don't think that's the majority and I don't think that's what the decision makers are pursuing. There are challenges in getting aid to people in a war zone where random people pop up with RPGs and shoot things or steal the aid for military purposes. If something goes wrong, like it did the other day, and many people died, Israel takes flak (essentially for trying to get aid into those problematic places).
The Hamas, being the elected government of Gaza, and having hoarded provisions for their prolonged battle, is also responsible for the well being of their citizens. They don't give a damn but we shouldn't forget they're responsible (in many ways) for the current situation.
In terms of "razing" there is extensive use of bulldozers, bombs and demolition to neutralize mines, booby traps, tunnel shafts. Expose tunnels. Remove positions the enemy can utilize. This is why the IDF has managed to take over most of Gaza with relatively low casualties (still a lot but a lot less than was expected). I'm ok with this morality in this context, minimizing my casualties in a conflict that the other side insists on continuing. There is a fine line there and the line is international law (which generally allows these tactics).