The chemical composition of the star.
the wavelengths
Makes them not the same.
The frequency of the waves is what makes the various types of waves in the spectrum different. Low frequency waves like radio waves have long wavelengths, while high frequency waves like gamma rays have short wavelengths.
light refracted by raindrops appear to be different colours
The temperature of the star itself - and Earth's atmosphere.
The atoms of each element have a number of protons that is unique to each element. The number of protons makes one atom different from another.
The atoms of each element have a number of protons that is unique to each element. The number of protons makes one atom different from another.
Rainbows appear in the sky when sunlight is refracted, or bent, by raindrops in the atmosphere, causing the light to separate into its different colors.
Personality
You might have a different setting on that makes it do that.
Different colours appear because it is the way the human eye perceives them. Colours have different wave lengths and human's eyes can see that which makes you see it as a colour. The thing that makes colours different is the size of the wavelength.
When light passes from one medium (like air) to another (like water), its speed and direction change, causing the light to bend or refract. This bending makes objects appear to be in a different spot when viewed from above the water's surface, due to the way the light is distorted as it moves through the water.