Fire flowers do not grow in soil. They grow in question blocks and other such non-water-absorbant habitats.
But, if we are to assume that, like most flowering plants, fire flowers are photosynthetic, then they clearly need water from somewhere.
Then again, the flora of the Mushroom Kingdom is somewhat unusual...most of the plants are carnivorous...
So, to answer the main question...I have no clue.