Its not actually about military or economic assistance. Its solely about bilateral ties which every mature country in this world would like to strengthen for its own benefit.
Some of our Indian friends thinks that Russia is only bound to cooperate with india, as india is a huge market and it will not going to risk it for anyone. But the thing that our indian friends failed to realize is that, the countries if they wants to expand their market wont act like this. If they just devote themselves fully to one country then they would be left completely isolated from this world.
But still our indian friends either dont want to digest it or they simply failed to understand this simple phenomenon. They always comes up with the screwed up logic that russia will gain more from india than from Pakistan. But the ground realities are something different, because by embarking on an alliance with Pakistan, not only shall they get an access to the warm water to increase their market beyond the borders but also they automatically will get close to China as well. So technically speaking Russia will gain more from Pakistan than from India.
And another thing is that india is now playing very smartly, it now have seen that russian influence in this world especially from this region is fading away so thats why it has tied its knot with America in order to keep its wheel running. But Russians on other hand are actually analysing such scenarios very closely and they are propagating accordingly with this changing political climate.
And another biggest point why Russians are looking towards us is because of fact that they are under sanctions so in order to ease their economy from this strain they are looking towards other countries.
Lastly, i think that they foresee india to be an american ally so that could also be the reason why they are strengthening their ties with us.
But still funny thing is that our indian friends are pressing Russia not to take such steps, but on other hand they are doing the same thing.