The legal age of marriage in Afghanistan is currently "no younger than 15" but I would trust them with nothing.
wrt to Afghanistan having nothing in terms of commodities we want. That is both true but also a bit untrue. They have oil and gas but not a lot. What they have, or are, however, is a land over which a gas pipeline can be built. I'm probably misremembering some of this because it's over 25 years since I was studying around this subject but, here goes ...
The US wanted/want a gasline in the region, the best country for it to go over for some of the way was Iran and that was never going to happen. Next best? You've guessed it, Afghanistan. The US were therefore reasonably happy to accept a less than ideal government structure as long as it wasn't communist. They supported the Mujahideen throughout the Soviet invasion. Post cold war the Mujahideen who were never a coherent group broke up and grew to become what we know today, the Taliban. Things got bad for women. It doesn't do anyone any favours to pretend that the USSR were a great bunch of lads, but while the USSR had some control in Afghanistan women had rights. The US weren't happy with the Taliban, especially now that the USSR was a thing of the past and the fear of communism lessened. But, but, but ... gas pipeline! It would be unfair to say they offered support after all the world condemned the Taliban in the 90s but they were holding power and it would be surprising if the US weren't doing at least some dealing under the table. If they weren't they certainly thought it was best to leave them to it after years of supporting an medieval and misogynist group they stopped. My knowledge post 1998 is slim and no better than anyone who's read the news and gone down very small rabbit holes of extra information. I just know that the west has been support of the unacceptable in Afghanistan when it has suited their economic and political needs.
The pipeline? The US are totally out of it now and have been for decades, I think. Post 9/11 it's been off the table. TAPI (either the Trans Afghanistan pipeline or the Turkmenistan-Afghanistan-Pakistan-India gas pipleine. is still on the table but without the US. Probably. Who knows these days.
In short, the west supports things that they pretend not to support when it suits them. Women's rights mean nothing when billions or trillions of dollars are involved.