Fact 1: hitting an object causes the particles in that object to vibrate. 
Fact 2: When the particles in the coal or the particles in the lamp filament get hot they start to vibrate.
Hitting an object can cause that object to get hot.