Why do two surfaces get warm when they are rubbed together?

Pick the answer from these options

OPTIONS:
- The surfaces absorb energy from the air.
- Friction changes energy of motion to heat energy.
- Moving objects produce heat energy.
- Energy is transferred between the two surfaces.
Friction changes energy of motion to heat energy.