That's off topic on what I posted. I was referring to seeing some one under different circumstance and shooting them, They are in an area where fighting is going on or more specifically approaching or near IDF. Also getting captives to strip who may have a hand gun or be fitted with a bomb.
Your point is more akin to hospital raids where the occupants may be told they will be shot if they come out. Fact is when the IDF is there anyone may be shot irrespective of proof of need.
Several civilians in Gaza City say people were shot dead by snipers after the Israeli military issued a new evacuation order and told Palestinians to head south as it steps up its offensive across the enclave.
Dr Fozia Alvi was making her rounds of the intensive care unit on her final day at the battered European public hospital in southern Gaza when she stopped next to two young arrivals with facial injuries and breathing tubes in their windpipes. “I asked the nurse, what’s the history? She said that they were brought in a couple of hours ago. They had sniper shots to the brain. They were seven or eight years old,” she said.