Rest and motion are the relative terms because they depend on the observer's frame of reference.If an observer is at rest in his or her own frame of reference,but he may be moving in other observer's frame of reference.
For example when a person travels by a car a person who is outside the car sees the person inside the car in motion.But the person inside the car feels himself to be at rest with car as the frame of reference .