According to the Short Story about Sharks PDF, the shark wanted to attack the two boys swimming away from the crew.