Water heat capacity has the following plot:
One can see it has minimum near 40 degrees of Celsius, i.e. close to human body and other warm blooded animals have.
Is this just coincidence?
One idea about how it can be not a coincidence is thinking about thermoregulation. May be any thermoregulating system has optimum if tries to keep temperature at heat capacity minimum?