The noun cavalier, originally coming from the French word chevalier, which meant knight or horseman, became an adjective meaning arrogant or haughty through the process known as pejoration.
Given that its meaning became worse than its original meaning, it is pejoration. Amelioration happens if the word gets a better meaning than the original one.