It's not at all physically implausible that crabs sense some electric or magnetic character in the surrounding water through their antennae or some other organ. Electroreception is known in bees, why not crabs? This could easily be the first evidence of that.