It's the fact that water expands as it freezes so ice that forms on the surface stays on the surface because it's less dense than the liquid water, if it got denser when it froze the ice would sink to the bottom and thus the fish would die. So because it expands the ice stays on top, and water stays at the bottom where the fish can stay alive.