Could have been in the middle of birthing... do you notice any tiny babies?
Also possible that the fish since they were sleeping, and they will turn pale as a protection as to not be noticed and eaten, then after awhile with the lights on they color up again.
Check water quality to make sure all is well there. If I ever have a concern, I do a 25-30% pwc
. Then watch again/ test.