International law says Israel cannot both occupy Palestinian land and attack it as a foreign threat, or treat resisters as enemy combatants.