The friction between two surfaces originates in their roughness, even at the molecular level.
The following animation will allow you to see what happens when one objects moves on another one.