My light only comes on for a flicker, then the GFI pops. Is it likely to assume a bad GFI or is the light more likely to blame?

I took the fixture out and cleaned it up, lots of brown algae or gunk on it. Housing was also filled with water.