When this happens, the sugar-breakdown process changes, leading to the production of anthocyanin pigments