A lot has changed in this century.
Since the onset of this century, the United States realized that China will be its number 1 rival & challenge for the rest of this century, they could not use Pakistan against it. Even though Pakistan was frontline state / major ally by start of the century as it was providing supply line to NATO in Afghanistan but still when President Bush left the office, his notes were made public years later, that were sent to President Barak Obama the next president. His notes specifically mentioned that
India is an
ally,
Pakistan is
not. (see:
https://www.firstpost.com/explainer...ld-barack-obama-in-secret-memos-12158982.html) Note, it was said, when there was no Quad, no close military ties.