There are all kinds of threads on this topic on the SPS forum.
Water quality
Lighting
Food in the water
feeding times
Fish that don't nip....
Flow
all have something to do with it, what most agree is that if they are extended at night then everything is cool, and that they can be "trained" to come out and regular feeding intervals.
My personal theory is that in addition to all of these, certain species....SPS speaking......will have a tendency to be out more often....ie Chips Acro, Digis.....etc.......
I think light and flow play a large part in it.