My own understanding is that India's rise makes people uncomfortable because they can no longer think that there's this mass of people who's worse off than them. India's accomplishments challenge their worldview and their place in it. I have indeed noticed this trend amongst people who aren't well off themselves. They are extra vocal and vicious in their attacks.
Earlier, this used to affect me. And I would try to correct them, even have arguments. But I have accepted this now. India and others should just ignore them as it's not really a constructive criticism and double down on all growth attempts