The Israeli army said in a statement that the Palestinians were heading to carry out an attack.