What are you, some sort of armchair military analyst?
I am retired from the military, so I know of what I speak. There is a section of military law known as the "Laws of Armed Conflict", which we call LOAC. All US military personnel are required to train in LOAC annually. I've had 22 annual LOAC sessions.
Here is a short course in LOAC:
LOAC FOR OPERATORS AND INTEL
Lawful Targets
- Combatants and Unlawful Combatants
- Military installations and airfields
- Military Aircraft (Except for Military Medical Aircraft)
- Infrastructure Supporting Military Operations
- Works and Installations Containing Dangerous Forces Identified by 3 Bright Orange Circles of Equal Size on Same Axis
Unlawful Targets
- Civilians
- Chaplains
- Medical Personnel and Facilities (Marked by Red Cross, Crescent Lion, or Sun on White Background)
- Hospital and Safety Zones (Oblique Red Brand on White Background)
- Prisoner or War Camps (Marked by PW or PG Signs)
What the Palistinian terrorists are doing is a "WAR CRIME" if they are a nation and a military, or just plain terrorsim if they are not.