Here's why:
* Reflection Nebulae: These nebulae don't emit their own light. Instead, they reflect the light from nearby stars. The dust and gas particles within the nebula scatter the starlight, making the nebula appear to glow. The color of the reflected light often depends on the color of the illuminating star.
Let me know if you'd like to learn more about different types of nebulae!