The external force for the earth moon system is due to
gravitational attraction due to sun
The gravitational attraction between earth and moon is the internal force to earth moon system, whereas attraction of the sun on both earth and moon constitutes the external force.