That repetitive swimming, the same loop over and over, often pushing off the same spot on the wall each lap, is called stereotypic behavior. It’s widely seen as a sign of boredom or stress in captivity. In the wild, a polar bear can roam a territory of thousands of square miles, hunting seals across sea ice and swimming long distances.