I can take some guesses about how the Taliban is funded, but of course this is a very complicated question, with the regional aspects of countries in the region that have some benefit in dealing with the Taliban. As well, the ban on education, of course, goes back to the Taliban ideology. Their purpose is to bar women from rights. This includes rights to education as well as rights to work.
As to why they have this ideology, that's everyone's question. It's on everyone's mind. I wish I could tell you, and we could fix it. We've been trying to do that for many years.