As water reaches the flower petals and evaporates, it leaves the food coloring behind, gradually changing the flower's color. The process continues as long as there's colored water in the container.