That happened to me when I was around 7 years old. My friend and i were pretending we were gardeners, so my mum gave us pumpkin seed so we just planted them, and out of nowhere 2 weeks to a month they were bloomed and then much later pumpkins appeared. What i think is my mum watered them, since we never get rain and we just pretended to water them with invisible water.