men discriminating and harrassing women? Sexism, check.
White discriminating people of color? Racism, check.
One Indian being a dick to another Indian? A personal thing between those two people. Only that ot is not, it is so much more, we Westerners just don't see it. And since we don't see it we have a pretty solid chance of intervening on the wrong side, if we intervene at all.
Effectively, the idea was "Don't be a dick." That is a reason right there where a person can intervene if they are in a position to do so. However, the issue as you raise it is that this is not a law.
There are laws about sex, racism etc that can help people in low power situations exercise some power. But we don't have that equivalent knowledge/ability regarding caste.