is it necessary for frictional forces to act between two moving bodies as stated in the chapter?
Frictional forces are present when two bodies moves relative to each other in contact. In fact frictional force is the horizontal component of the contact forces between two bodies that always act opposite to the relative movement the body. Yes, contact is necessary for frictional forces to act as because friction is a contact force.