Here is the thing, in your world view, you imagine India and Pakistan as rival forces of equal magnitude, but rest of the world does not see us as such.
India and pakistan are rivals, but India far out weighs Pakistan in almost every sphere of influence..least of all economically.
After all the hue and cry about about purchasing russian helicopters..you could but buy 4(even that is not confirmed yet). Because that is depth of your pockets..unless you are getting them on soft loans(some thing Russians don't do ), where as india has surpassed even Russians economically.
So India can engage with US, but at the same time give Russians enough business to keep them satisfied.
Where as Russians also know you will not abandon Chinese, after American equipment, your first choice will be Chinese and not Russian.
And Despite all the chest thumping about Pakistan being the king makers in Kabul..you don't have much control anymore over either Afghan Taliban or Afghan government..or Taliban will not be on a offensive against the seemingly Pakistan friendly government in Kabul.
This recent courtship of Pakistan is but a cry for attention from the Russians to India.