there is not only one reason for state to take position and a conglomerate of reasons that is more advantages than the other.. here's how I think.
India's US policy can be independent of Pakistan because there is no security element to it. (mostly trade, technology, people connect) however, same is not true for US. indo-pacific or Asia pacific is nice way of saying Anti-China essentially includes of Malecca dilemma, string of pearls, CPEC and such.
Now guess Anti-India block on the same lines.. yes, Pakistan is the main player and US deals with it as such.
US's India policy is independent of Pakistan??
1.Trump saying Kashmir is the issue and mediation between two countries can solve it?? Thats the Pakistani narrative
2. US taking up Muslim Minority issue during PM visit. Thats also Pakistan narrative
3. 5 Indian jets shots down and ceasefire by US also Pakistani narrative
4. whole Facade of state sponsored killing (Unknown Gunmen) also Pakistanis lobbied for that
5. Khalistani t3rr0rists getting safe havens also backed by ISI
I personally don't think it has anything to do with Russian war.. Afterall we had much intense and better relation with them 10 years back and no one had issues. (

, Su30, S-400, Nuke subs, carriers we bought them and they had no issues with it but oil seems more imp than that?) yes it is not related to Pakistan either.. I agree with last point.