The battery light goes on when I drive through a deep puddle, or when there is a lot of rain.
Likely the belt that drives your alternator slips when it is wet. A new belt and possible and new idler pulley would fix that. As long as the light goes back out, you are OK.