Here are two news articles which show something that has been obvious to Indians for long and only now being brought to the knowledge of the general public of the West whose tax money has been spent on Pakistan for many decades.
The conclusion that I come to after reading both is that the establishment in Pakistan, or at least a very influential part of it, is fully aware of and supports the Taliban for its own strategic reasons. This has of course meant that India has been at the receiving end of terrorism but more importantly for my readers from the West, their soldiers in AfPak theater are losing their lives due to the shenanigans of a force supported and encouraged by elements within the Pakistani establishment.
The first one is from an eminent Pakistani columnist Irfan Hussein.
The next one is by Dexter Filkins of the New York Times.