Friction opposes ___motion between two surfaces.
Frictional forces come into play when there is relative motion between two surfaces i.e. when one surface moves relative to the other surface, friction opposes this motion.
Friction is a force which opposes relative motion between two surfaces in contact with each other.