Some fish use electrical signals to navigate.
If two fish on the same frequency encounter each other, they automatically switch frequencies to avoid "signal jamming". It's called "jamming avoidance response".
More or less like how your wifi router does at home. 