Each caste would preserve its  purity  by avoiding intermarriage and not sharing food with other castes.
Castes chose not to share their food with other castes.
It fell to the Aztecs in 1523, and its various buildings were changed into pyramids.