U.S.-Pakistan relations have been extraordinarily volatile, largely a function of the twists and turns of the Cold War.