Usually, the female fish lets a male fertilize her eggs and then lays them. But sometimes, due to stress, instinctually, or lack of enough males in the tank, it lays unfertilized eggs. These eggs stay white even after 2 days, and a white layer of bacteria develops on them.