What causes the cinnamon flavor in certain apples

This is the relevant post i think.