Sounds like mission to win hearts and minds, and treachery or complicity by the village elders. This is what was tried in Afghanistan during Bush/Obama years, and costs us lots of our finest soldiers.
We should get away from this type of thinking, and just hammer ISIS wherever we find them, and get out. Repeat as necessary. No patrolling by our finest troops, where they can be picked off by IEDs and ambushes, just engage, smash, destroy and withdraw. Repeat ad infinitum.
The hell with hearts and minds.
The Army, Special Forces, Green Berets, whatever you want to call them have always done this. Hubby was a Green Beret and wound up in a book about a deathly firefight in Vietnam. His small unit was doing inoculations in a nearby village when they were called in.