The warmer-than-air water melts the underside a little faster, and it gets top-heavy.
I am not sure its the temp difference between the water and the air that makes for the most melting, so much as the thermal conductivity of a liquid is far greater then air that increases the lower melting and change of COG..