You convert kinetic energy into thermal energy when you rub two sticks together because of friction. Friction is the force resisting the relative motion of solid surfaces, fluid layers, and material elements sliding against each other. Hope this answers the question.