Hamas attacks Israel, October 2023

The argument isn’t based on tit for tat “you violated laws of war so we get to” revenge logic. The argument is that a building with civilians in it is not protected by the laws of war if used by Hamas for combat operations; in fact engaging in military operations out of a protected location such as a hospital is in and of itself a war crime, and so Israel is not guilty of war crimes if they bomb a building from which Hamas’s actions removed protection.