Whose fault was the failure of the war in Afghanistan? 16 years after it began, the Taliban controls around half of the country, with pockets of "Islamic State" militants popping up in various provinces.
an enemy doesn't have to defeat the american military, they just have to outlast america's political will.
in short, americans lose wars, because they get fatigued and bored.