Who is responsible for the Taliban?
The current situation in Afghanistan is largely due to foreign interference from a variety of sources, going back to the nineteenth century. The British division of Pushtun tribes between India and Afghanistan started calls for an independent Pushtunistan, leading Pakistan to encourage a rival Islamist movement to avoid losing territory.
This article from 2002 gives a detailed and fascinating explanation of events. It is not short, but worth reading if you want to understand how we got to here. It should be a lesson to politicians not to interfere.
https://www.washingtoninstitute.org/policy-analysis/who-responsible-taliban