According to the story in Haaretz, the soldiers got out of their tank and approached on foot thus endangering themselves. The IDF first priority must be the safety of its own soldiers. That should take precedence over the safety of Arab civilians.
4 UN peacekeepers injured in Sinai and taken to hospital in south Israel (Haaretz)
from the article: IDF soldier killed by friendly fire on Gaza border