The plant cannot just spontaneously grow seeds. It would first have to sprout male flowers, mature the male flowers, open the male flowers and release the pollen, receive the pollen, THEN start growing seeds. This is a process that takes a significant amount of time. Also growing anything, including seeds, is something that takes nutrients, so if the plant was responding to a lack of nutrients (water being the MOST important nutrient), it would respond by stopping growth, not springing to life and rapid-fire churning out seeds. If anything it might grow a couple male flowers, but they would probably be sterile anyways, and almost definitely wouldn't have time to pollinate and grow seeds.