Terrestrial animals face two common sources of heat extreme enough to pose a danger to them: Sunlight and fire.
It therefore stands to reason that they would evolve systems for sensing heat and behavior making them averse to extreme levels of heat, and most terrestrial animals have indeed done so.
Fish, on the other hand, live in an environment where neither of the above heat sources have a profound impact, and the one source of high temperatures underwater (geothermal activity, such as underwater volcanoes) does not exist within the habitat of many species of fish.
In summary, there does not appear to be any pressure for fish to evolve or retain an aversion to heat like terrestrial animals have.
Are fish averse to extreme heat?
