Which two variables determine the gravitational force between two objects?
A) their densities and the distance separating them
B) their masses and the distance separating them
C) their volumes and magnetic strengths
D) their masses and relative densities