It's possible the change in lights has changed the spectrum in the tank enough for them to no longer recognize each other. They are able to recognize individuals amongst animals that are otherwise identical to human eyes, and we really have no idea what cues they're using to do so.
|