That's a great question! But nobody has really done any serious scientific studies of RFAs so we don't really know much.
Their natural environment in the Florida Keys is about 20 to 30 feet deep, so less light, but they do fine under good light in aquariums. They are fairly hardy. They seem to do better if fed occasionally to regularly. In a DT they can do OK for themselves by photosynthesis and getting some fish food. But they do better if they get fed occasionally.
We know stress can get them to spawn, but that other factors or timelines get them to spawn is very unclear. We don't even have a clear gestation period between spawn and delivery of babies. Anecdotal info says anywhere from 2 to 5 weeks, give or take a few days.
There is a lot of that anecdotal info, and some good husbandry info in this thread:
https://www.reef2reef.com/threads/ron-reefmans-rock-flower-experience.409436/