To any two objects with mass because a pencil and a paper can have gravitational force but they won’t be attracted to each other due to earths stronger gravitational pull another example would be meteorites which also have gravitational pull but not enough to be attracted each other unless there’s nothing except them around