Sometimes dolphins swim into shallow water and get stuck when the tide goes out. The shallow water can confuse the dolphin's sonar.