Answer:
This happens due to the process known as conduction.
Step-by-step explanation:
conduction can be explained as the passing of energy from one particle to another through charged electrons of the respective particle. collisions of the particles of any substance (example-water) causes electrons and other charged microscopic particles to get transfers from one atom to another,thus causing heating of the substance.