When two physical objects rub together, what is happening is that the molecules that make up those two things are interacting -- attracting or repelling one another and causing each other to move (vibrate, rotate or translate).