Have you not been following the news where India just elected a facist leadership and had numerous deadly race riots supported by their government? Try checking your ideology with reality sometimes.
Though, I mean, part of that difference is that the rest of the world feels uncomfortable with sudden shifts like India's, and so usually gets together to trade-sanction the problem away so that things will go back to the way they were (which might cause the country to lash out, at which point it becomes a World War); while, on the other hand, the international community is so used to "the way things are" with countries like China, that they don't do anything.