it's been a long hard ugly occupation. The worse it gets, the harder it is for any Palestinian to forgive the IDF. And the more hostile the Palestinian civilians, the meaner the IDF will get. It could happen to anybody. look at Fallujah. A named US officer officially reported his unit was attacked by Iraqis who arrived in an ambulance. They achieved a degree of surprise that way. After that, US snipers shot the driver of every Red Cross ambulance they saw. Officially it was a war crime, but the other side broke the rule first. When you fight an enemy that is poorly trained and whose communications are bad, it's inevitable that some of them will do some war crimes. And then your side will do it too. It turns uglier and uglier. That's just how it works. If you don't want that to happen, don't run a hostile occupation. You can't expect to run a clean, by-the-book occupation of civilians who hate you. The soldiers will eventually hate them back. Things will go bad. It just happens.
from the article: 'I was stabbed in the back,' says soldier who used human shield in Gaza