"All Summer in a Day" imagines a Venus whose weather is one of almost never-ending rain, where the sun comes out for only a brief span, during one day every seven years.
Margot herself had come to Venus five years earlier, so unlike the other students in her class, she actually has memories of sunlight, thanks to her time on Earth.
The key to understanding this question is to recognize that Margot does not want to live on Venus. She is profoundly homesick and wants to return to Earth. This brings us to the image of her reaction to the shower, which is closely tied into her suffering on Venus. What defines life on Venus is its incessant rain, to such a degree that it blots out the sun, and this is one of the factors which, for Margot, makes life so miserable. Her reaction in this scene amounts to a rejection of her life on Venus, pointing back to her profound desire to return to Earth.