Because they wanted religious freedom from the British government
A UN General Assembly resolution called on the Taliban to protect the country's cultural heritage. After al-Qaeda operatives attacked the United States on September 11, 2001, Omar rejected U.S. demands that he give up bin Laden. U.S. forces invaded Afghanistan in October 2001, and the Taliban was quickly overthrown.