When two objects attract each other then gravitational force of attraction applied by first object on the second object is same as the force applied by the second object on the first object. So both earth and moon attract each other by the same gravitational force of attraction.