The blue color of the nebula nearest the bright stars is caused by reflection off interstellar dust . The dust emits little visible light of its own - in the absence of a nearby star the dust would appear dark , blocking light from background stars. The red color of the nebula furthest from the bright stars is caused by glowing hydrogen gas. Energetic light from the central stars ionizes hydrogen gas - which glows red when recombining with a local electron . In the absence of a nearby star, the gas would neither glow on its own nor absorb much background starlight.
Specific rights apply.