Class specifically can be changed, whereas caste cannot. You can dress better, pronounce words in an upper class style, and live in a better neighborhood but still be treated like you need to use the back door to enter your own office because of the color of your skin.