Residents said masked settlers attacked Palestinian homes, trapping families and leaving several people injured.