First of all, we should understand that although whales live in water, they can't actually breathe through gills like fish, so they must rely on their lungs to breathe oxygen in the atmosphere. It is for this reason that this kind of fish has to stay in the water for more than ten minutes before coming out to breathe. During breathing, a lot of gas in the lungs must be discharged. Because the pressure is very high, it will produce a loud sound when spraying, and the water column will be directly absorbed in the process.
This is why we often see this fish spraying water on its back in documentaries, and the ultimate goal of doing so is to be able to breathe. After all, this fish doesn't breathe through gills. If it wants to breathe with its lungs, it must penetrate to the sea surface from time to time to carry out related breathing functions. The jet of water is to make oneself breathe more smoothly, so this kind of fish, as the overlord of nature, is very remarkable and one of the animals that human beings like very much, so we all hope this kind of fish.
To sum up, we know that this fish sprays water mainly for breathing, mainly because it has no gills, and can only breathe in the sea through the function of lung breathing, relying on pure oxygen to help breathing, so this fish itself is also a mammal.