Pakistan's long-standing support for the Taliban has backfired, as the very militants it helped rise to power are now turning against it, escalating tensions along the border and threatening its stability.