The reason why whales become stranded in shallow waters or beach themselves is not known although it could be that their sonar system does not detect gradual changes in depth, resulting in some whales becoming trapped in shallow water or on beaches. Once a few whales beach themselves, the rest of the pod may follow.