Question
Do the two masses repel each other due to gravitational force?
Solution
No. Gravitational force is an attractive force.