In some instances, residents said the violations were motivated by animosity or revenge after Kurdish security forces suffered losses in attacks.