Also, I think it's quite a misnomer to label it an "unjust occupation" given that the internationally accepted government (up until last week) hosted US and NATO forces, and wanted us to stay at least until November this year. That's not what an "occupation" is. It may have been an unjust occupation in 2001, but that's a far cry to 2021.
An occupation that starts as unjust doesn’t become just when your puppet government gives their totally free and uninfluenced approval. Especially when the US is killing lots of civilians and pulling out lots of the countries natural resources.
Got it, so in other words, the war was unjust and the US and NATO should never have invaded? Is that the argument?
Tracking the killing of civilians is really messy. A source would be nice. I know that the best final assessment of civilians killed by US forces in Iraq can be summed up as "Americans are literally taking casualties to prevent casualties on the part of Iraqi civilians." At the height of the Iraqi insurgency (2006 through 2008) only about 1 out of every 100 civilian deaths involved US troops in any way. You read that right - 1%. An example year is 2006, when 16,791 civilians were killed by terrorists and insurgents, and only 225 by US troops for that whole year.
I have read a lot less about these numbers in Afghanistan, but given that it was a much more low intensity war overall, I would be surprised if the numbers were dramatically different.
And finally, given that the US has poured billions of USD into Afghanistan to build infrastructure, schools, hospitals, and other things - and has poured in FAR more money than any it could have gotten out by "pulling out natural resources" that's an odd statement. I'm not going to defend any stealing the US may have done in Afghanistan, but the net is a flow of money and resources INTO, not out of, that country. And this doesn't include the dramatic increase in civil rights - particularly women's rights - that were fostered under our "puppet" regime.
Edit: One of the easiest criticisms that domestic (US) opponents of the ongoing war make is that it is so stunningly costly to keep it up (not just to pay for the military stuff, but all the so-called "nation building" stuff too). We've been pumping billions into Afghanistan via the USAID org and other means, and it's expensive. That's going to go away with the Taliban.
Here's right from the horse's mouth all the pillaging the US government has done since 2002 in Afghanistan:
https://www.usaid.gov/afghanistan