Although explanations are offered here, nobody is actually quite sure why they do it. Some species only do it when a predator is a given distance away, but many do it seemingly for fun. Another explanation is that it’s like ‘spy hopping’, similar to what whales and dolphins do in the ocean.
Follow Ultrafacts for more facts
Source: Learn about Interesting Facts and Amazing Facts plus a whole lot of Fun Facts and Strange Facts