The process of evaporation at the surface then becomes irreversible and it produces entropy by the mixing of saturated air from the surface where evaporation takes place with the unsaturated air of the boundary layer. When the water freezes, its energy is released into the surrounding, which increases the kinetic energy of surrounding molecules, which means the randomness is increased. Therefore, the entropy of the surrounding is increased.