Unlike Hamas, Israel is a democracy that purports to follow international law in military matters.