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.
Whatever followed has proven that US-indo relationship are nothing short of absolute
alliance. US did sanctions waiver to india despite buyer of S-400, not even Turkey was spared which was a NATO member. India was included in QUAD, India & US did nuclear deal, India & US signed various strategic agreements between 2017 to 2018. The defense ties are limitless, P-8Is, Apaches, Predator drones, war plane engines, almost everything is accessible to india. Lot of NRIs are in US tech giants and other industries, Lot of NRI's are even coming up in US politics. The US-indo has a lot economic benefits together. That's why I say, india is even more closer to the US than some of NATO members like Turkey.