This is like when the US would designate any fighting-age men they killed to be “enemy combatants.” If you define the enemy as anyone you kill, you can go ahead and kill anyone while claiming to hit only the enemy. In this case Israel seems only to need to say that the enemy might have been somewhere near the people it killed.