According to Shelford’s law, if an animal’s environmental condition exceeds its limit:
Shelford’s law states that each environmental factor has lower and upper tolerance limits for a species. Within an optimum range, survival, growth, and reproduction are high. Near either limit, organisms enter physiological stress and performance falls. Beyond a critical boundary, homeostatic mechanisms fail, so individuals die or must leave the habitat if movement is possible. For temperature, excess can denature proteins, destabilize membranes, and disrupt oxygen balance; for salinity, it can overwhelm osmoregulation; for pH, it can alter enzyme function and ion availability. Migration is therefore one possible component of the broader outcome, but it is not always feasible, especially for sessile organisms or fragmented populations. Thriving and rapid reproduction are expected nearer the optimum, not beyond tolerance. Actual distribution also depends on competition, predation, dispersal, and life-stage sensitivity; a species may be absent from otherwise tolerable conditions because of biotic exclusion. Conversely, brief exposure beyond a usual limit may be survived through dormancy or stress proteins. The law nevertheless predicts that persistent exceedance prevents local population maintenance through mortality or emigration.
Ref: Evolutionary Analysis, Herron & Freeman, 5th Ed., Ch. 10