Minecraft wiki entry for Flower_farming, associated text: If the planting conditions are not met, flowers will quickly pop out. This allows flowers to be used in the creation of light-sensitive mechanisms.