Chlorophyll is what makes plants green and what lets them use light to make food. To form it they need nitrogen, magnesium and iron.
When a plant is short of one of those nutrients, it makes less chlorophyll and the leaves turn yellow, which is called chlorosis. In autumn, as the chlorophyll disappears, the yellows and reds that were hidden come through.

