You convert kinetic energy into thermal energy when you rub two sticks together because of

Kinetic energy is movement energy. So when you rub two sticks together, the rubbing is the kinetic energy. The friction that this causes releases heat. Heat is thermal energy. So due to friction you can convert kinetic energy into thermal energy by rubbing sticks together.