Survival tricks devised by millions of years of evolution.
I surmise once they detect the possibililty of a sudden influx of water, they either leave the system, hug the bottom or hide behind all manner of natural barriers/obstructions. Like trout in a stream normally does.
Just my 2c.