Difference between frictional force and gravitational force
When the surface of one object comes into touch with the surface of another, frictional force acts to prevent motion.
Alternatively...
The gravitational force exists between any two objects in the cosmos.