Because in the hinterland, the only means for securing the basics of life was to carry a gun for the Taliban.
Waging any “just” war demands that civilians are fed. A failure to do so drives them into the ranks of your enemy.