hi mehrzad...yeah there is a reason...it is related to their thermic radiation spectrum...when you heat up an object like a piece of iron...it will emit higher energetic radiations...from Infra-Red it changes to Red...then Orange...Yellow...White...Blue...UV...and so on
(wavelength peak)=(B)/(Temperature)----»for a blackbody