Whenever the surfaces in contact tend to move or move with respect to each other, the force of friction comes into play
1
only if the objects are solid.
2
only if one of the two objects is liquid.
3
only if one of the two objects is gaseous.
4
irrespective of whether the objects are solid, liquid or gaseous.