What are the causes of terrorism in Pakistan?

The main causes of terrorism in Pakistan or religious zealotry and extreme poverty. Most of the terrorist live in difficult to access areas of the nation.