The difference is a poor person in the west can become a rich person (and vice versa). But that is not the case with caste - caste is assigned at birth. You can't change it even though some people pretend that it can be.
So don’t try to potray things as black and white and reduce a particular religion to one concept and unidimensional like other Abrahamic faiths. Which btw are pretty much black and white and have more stringent concept of what’s human and what’s not (for instance branding women witches and burning them alive).
But the point is that the Subway worker and the data engineer are actually equal in their humanity. The one shouldn't have to rely on social mobility for me to see them as equal to the other.