Report them to the IDF? Are you insane? If you came and killed my child I would not report those trying to kill you to the police or army. I would do everything I could to support those trying to kill you.
That's a very bad analogy. It has led you to the wrong conclusion, as bad analogies often do.
A far better analogy: I live in Bellingham, Washington, and my government, the United States Government, stockpiles rockets in my child's school and starts firing them over the border into residential areas of Vancouver, British Columbia, for no good reason. To try to stop the rocket attacks, Canada launches some airstrikes on Bellingham.
In this situation, I would be completely ashamed of my government, the United States Government, and I would be rooting for the Canadians, because I'm a civilized person.
And then if the airstrikes failed to stop the rocket attacks, and Canadian troops arrived in Bellingham, you bet I'd help them find the jerks launching the rockets.
And if the Canadians dropped leaflets begging civilians to evacuate the school before they bomb the rocket-launching site, I would have even more admiration for the Canadians, because that type of concern for civilians is nearly unprecedented in warfare.
And if American leaders called those evacuation warning leaflets "psychological warfare, and urged people to stay put," my disgust for my own government would multiply.
And if my child was killed because a school administrator obeyed the duplicitous order to stay put, would I suddenly lose my grip on logic and rationality, and lash out at the Canadians? Nope. My anger would be entirely directed at the Americans who instigated this conflict.
Let me change that just a bit.
Scenario 1a) Let's say the Canadian's suspect that there are rockets stored in the basement of your child's school, where due to flooding your child, your family and the families of everyone you know are sheltering because there is no electricity and no water and all of your houses are under water.
There may or may not be weapons stored under the school. You have no idea and you certainly had nothing to do with putting them there if there are.
Now how do you feel about the Canadians shelling your school on this suspicion? I think not.
Scenario 1b) Let's change 1a to be that now there are militants firing rockets from the roof of the school. You still have nowhere to go because this is the only place you can get food and water.
Are the militants to blame for the immediate situation? Let's say yes.
Would you still be cheering on the Canadians shelling the school, even as you curse the militants.
No, I suspect you would be cursing both sides for crushing you in the middle.