I don’t really think that the Paki gov’t is ordering these attacks, but there are ‘pragmatists’ (who are willing to look the other way) and even sympathizers within the current regime, sure.
Islamic terrorists are using Pakistan as a safe haven from which to launch attacks from within the borders and on the outside — mostly in India and Afghanistan.
Any government in Pakistan has to tred a razor’s edge given the competing constituencies amongst the populace. One thing that unites them all is an opposition to influence from outsiders.
There are no easy solutions. As old Lebanese professor told us, beware the cross-winds in that part of the world.
An easy solution would be for Afghanistan to blanket bomb from the west and India to blanket bomb from the east. Pakistan would be much more peaceful.