Mammalian noise making ability is based on sound waves propagating through air. It works because mammals evolved on land where they had a lot of air, and they happened to have a nifty pair of air sacs in their chest that they can use to expel air. So by adding a few well placed muscles at the exit the sounds can be modulated to create a variety of sounds.
Sharks are fish and live in water. Air sacs would be a nightmare to fill, and would require a lot of effort whereas mammals continually refill their air sacs for breathing anyway
So it’s all just based on where they live. Some fish make click-like sounds but they don’t have that vibration-based noise making system that evolved on land. And as they don’t need to evolve a way to communicate by sound (by compensating with other senses like electromagnetic organs in sharks, or feeling the tiniest movements in water) they have no reason to change their dna and whole body build just to accommodate a voice box
Latest Answers