They are. Every atom of mass everywhere in the universe is attracted to every other atom. But the force of gravity is decreased by the SQUARE of the distance between them. So two things far apart...
Each planet is several million miles from its next neighbor at their closest. The two closest planets Mercury and Venus are about thirty million miles apart, the furthest planets Pluto and Uranus are...