Why did the light that I tried to turn on flicker green?
The green color was likely caused by an electric arc inside the bulb, causing the gas inside the bulb to glow.  The bulb is likely filled with an inert gas such as argon, necessary to prevent the filament from burning.  Argon can have a blue-green glow when it is excited by an electric arc.