Here's why:
* Hotter stars emit more blue light: Stars with very high surface temperatures (around 25,000°C or more) emit a lot of blue light, making them appear blue.
* Cooler stars emit more red light: Stars with lower surface temperatures (around 3,000°C) emit more red light, making them appear reddish.
* In-between temperatures: Stars with temperatures in between these extremes emit a mix of colors, leading to appearances like yellow (our Sun), white, or orange.
Think of it like a stovetop:
* A burner set to high heat glows a bright blue.
* A burner set to low heat glows a dull red.
So, the next time you look up at the night sky, remember that the color of a star tells you something about how hot it is!