Q.What causes a snake plant to suddenly sprout a stem with flowers?
My 6 yr old snake plant (which was started from cuttings of a much older plant that grew too large and cumbersome to keep) suddenly sprouted a stem this summer with tiny little flower clusters. The plant is outdoors on a covered deck so it’s exposed to limited sun and rain. I will attempt to download a picture with this question.

Certified GKH Gardening Expert
It's lovely! Blooming is rare but tends to happen when the plant is stressed, such as when potbound. I believe it will bloom if it gets more light than it is used to. Here is more info: