In a hot engine the hot parts are expanded because of heat, if cold water is poured suddenly then there will be uneven thermal contraction in the parts. This will result in a stress to develop between the various parts of the engine and may let the engine to crack down.