The Israeli army said there was a riot at Beita, near Nablus, and soldiers’ lives were in danger.