There have been too many cases, both in and outside of Israel, in which someone yells "Allah Akbar!" and then blows himself up or throws a bomb, killing and wounding innocent people. In such cases, it is better to shoot first and ask questions afterwards.
Five people killed in car crash near Hebron (Haaretz)
from the article: Security guard shoots, kills Jewish Israeli man at Western Wall