I don't think this is a fair comparison. Yes, we have socioeconomic classes in the US (as every country does, whether admitted or not).
It's extremely rare to find a Manhattan family where the child would be disowned and completely cut out of the family for marrying someone from the Ozarks. You can't say the same for a "pro-caste" Brahmin family in India.
You can't say that an obvious outlier ("You want to marry someone from Missouri?!? You're out of the will!") is the "same thing" as widespread pseudo-racist, quasi-religious nonsense like the Indian caste system.
It's extremely rare to find a Manhattan family where the child would be disowned and completely cut out of the family for marrying someone from the Ozarks. You can't say the same for a "pro-caste" Brahmin family in India.