Respuesta :
because a star is a peace of the sun and the sun is hot so the star get it energy from the Sun .
The hotter a star, the more red it is. The colder a star, the more blue it is. This is because of the wavelength that the stars emit.