In Danny Phantom, the green glow in Danny Fenton's eyes isn't just a cool visual effect—it's a direct consequence of his transformation.
When Danny activates his ghost powers, his body becomes infused with ectoplasm, the supernatural energy source that fuels all ghosts in the series' lore. This infusion physically alters him: his hair turns white, his skin pales, his costume manifests—and his eyes glow a vivid, radioactive green.
The glow serves as an immediate, unmistakable visual signal to both allies and enemies: Danny is in ghost mode. It's the series' shorthand for "the rules of physics no longer apply."