The sun is a light generating sphere, but the photons traveling the near vacuum of space are not hot. We only feel the heat from friction of the sun's rays as they pass particles within the space-time curvature around the planet.
It is like the effect certain waves that agitate certain kinds of molecules, just like how microwaves agitate H2O molecules to heat food. But placing a ceramic figurine in the microwave will not make it hot.
It is like the effect certain waves that agitate certain kinds of molecules, just like how microwaves agitate H2O molecules to heat food. But placing a ceramic figurine in the microwave will not make it hot.