Sorry, I can't tell from your photos.

Did water get inside the light fixture itself or is it just inside the niche? Water in the niche is normal. Water inside the fixture itself sounds dangerous...!!!!