The plants light comes from the plant absorbing ambient magic and converting it to create luner magic to create the glow, but if you pick the flowers and supply them with a source of magic it will still do this, this effect only lasts a few days after the flowers are picked and the glow is much weaker.