Does Afghanistan have much in the way of oil, much less readily tapped and such*? As far as I am aware it has never been an exporter or such things, indeed net import basically forever.
Has plenty of mineral reserves, albeit untapped with most of the war puppeteers probably looking for the long game there, which does include a notable Lithium deposit.
https://www.reuters.com/world/asia-...stans-untapped-minerals-resources-2021-08-19/ reckons 1.6 billion barrels of oil, which is not nothing, but still basically nowhere on the big lists.
*it is landlocked, surrounded by Iran and a bunch of ?stans that are none too stable themselves so good luck with pipelines.
If we are going to do US wars of pointlessness then Iraq on the other hand. That is a different matter and potentially more readily thrown at the feet of people that care about the colour of the tie the person that is pretending to be their friend. Granted while winning wars is easy it seems the US does not have the stomach or indeed much in the way of capability to win the peace so meh.