Officials blame the armed groups for raids on villages, attacks on military infrastructure, and kidnappings for ransom.