The color of the beer is due to the combination of two chemical reactions. One makes the amino acid attached to the sugar, while the other helps break the sugar.