It sounds like it's happening while the aquarium is dark and then Razimith turns the lights on to see if the floating fishy is dead.
It could be that it is sleeping, or there could be something wrong with it (even just a simple, minor infection). By any chance, are you having an issue with blue-green algae that grows in sheets? I had a
betta that was doing the "sleeping like the dead" trick, and it turned out that the tank had a cyanobacteria infestation.
I'd keep an eye on it, but if it doesn't get any worse, don't worry too much about it.