Answer:
Its temperature
Explanation:
The stars age
As stars age, they run out of hydrogen to burn, decreasing the amount of energy they give off. So the younger stars can look bluer while older ones look more red.
Hope this helps :3