Relative motion is the calculation of the motion of an object with regard to some other moving object. Thus, the motion is not calculated with reference to the earth, but is the velocity of the object in reference to the other moving object as if it were in a static state.
For example, a person sitting in an airplane is at zero velocity relative to the airplane, but is moving at the same velocity as the airplane with respect to the ground. Relative motion is a concept, and its calculation occurs with relative velocity, relative speed, or relative acceleration (which is the change in velocity divided by the change in time).
Frictional force is a contact force that acts in the opposite direction to the motion of an object. This force can cause objects in motion to come to rest, as they act in the opposite direction to its motion.
E.g. -
If you roll a ball on a surface, it would come to rest after a short while. It does not keep on moving, this is due to the frictional force acting in the opposite direction of the motion causing it to stop and come to rest.