You should try and avoid sudden large changes in temperature. Unfortunately it does sometimes happen, especially if you're taking the water straight from the tap through a hosepipe.
I've had it happened on more than one occasion, the water suddenly runs cold. Mind you, having a crap boiler doesn't help:lol:
The problem is, if the water does change temperature very quickly, this can put fish under stress. Stressed fish can be more vulnerable to diseases such as White spot and more seriously, hole in the head disease.