1. Mass: The more massive the objects, the stronger the gravitational attraction between them. This is because gravity is a force that attracts all objects with mass. The more mass an object has, the stronger its gravitational pull.
2. Distance: The closer the objects are to each other, the stronger the gravitational attraction. This is because the force of gravity weakens with distance. The further apart two objects are, the weaker the gravitational force between them.
Think of it this way: the Earth has a much stronger gravitational pull on you than your phone, because the Earth is much more massive. But the pull of gravity is also stronger when you are standing on Earth, compared to when you are in space, because you are much closer to the Earth's center of mass.