Simple answer: because of heat,
Simple explanation:
If you look at it at a molecular level, the intermolecular forces between the water molecules are decreasing. The heat provided is giving it enough energy for the water molecules to overcome these attractive forces. Thus phase change accrues