OFL wrote:
The first thing to do is check your water for ammonia and nitrite. Fish can sometimes have mad moments and dart around the tank if toxins are present.
If your water is okay and you can't find anything amiss in the tank, then you're just have to accept that your Oscar will do this on occasions. If this is the case then I would try and remove any sharp objects, like large rocks or anything that the Oscar can damage itself on.
Sorry I can't be much more help
unless it banged against object when you open the light, perhaps it was shock for sudden brightness, otherwise, please check water as OFL had suggested. sometimes fish dart away or spalsh several times when they are trying to shake something, either irritation or bad water.
8 out of 10 instances, positive to bad water condition.