When surfaces in contact move relative to each other, the friction between the two surfaces convert kinetic energy into heat.