when an object's distance from another object is changing