The military said the shootings occurred Tuesday at a settlement near the West Bank town of Nablus .