
According to our partners at Terrasanta.net the IDF defended their actions in this way.
Israel’s military advocate general (part of the IDF) said in a letter to Yesh Din, a human rights group, that the military commander is “obligated to maintain security and public order” in the West Bank, and that to maintain the competence of IDF forces in fulfilling its mission, “the IDF must train, sometimes even in populated areas.”

You can imagine how terrifying it might be if the Mexican or Canadian Defense Forces burst into your home during dinner, announced, and practiced arresting you and your family. It puts things in perspective and helps us realized that not all is fair in love and war.