Pak is allying with China on India, but there has always been a deep-rooted pro-west (pro-US) sentiment among Pakistani people especially the English-speaking groups (western educated, western media readers, etc). Pak-US tie is way longer and deeper than Pak-China tie, though arrogant US administrations as well as messy US domestic politics screw things up from time to time, the Zulus/T129 deals are examples. There are ups and downs between Pak-US in geopolitics, but the underlying pro-US sentiment in the public is always there, will exert influence and act as stabilizer.