Exists several hypotheses.
According to the most widespread, this behavior allows the whales to get rid of the skin parasites, which grow on a whale all his life.
Another hypothesis states, that jumps - part of the social and / or marriage demonstrations.