Answer:
Genetics
Step-by-step explanation:
The color of the apple arises from the level of expression of certain genes in your skin or peel
Enzymes work together to convert certain molecules into pigments called anthocyanins, the same class of substances that give purple sweet potatoes, grapes and plums their color. The levels of these enzymes are controlled by a transcription factor, a protein that regulates the expression of a gene called MYB10, so that the more MYB10 there is, the redder the shell will be in general.
If a red apple is illuminated with a blue light, it probably looks like a violet color. This is because the combination of colors (both in paints, red and blue, or in this case the superposition of tones) results in a bruised tone.