The issue has created tensions between Afghanistan 's president , Hamid Karzai , and Pervez Musharraf , the leader of Pakistan , who accuse each other of not doing more to contain militants in the region .