Rest and motion are relative to each other-
That is An object may appear to be moving for one person and stationary for some other.
e.g All passengers sitting inside a moving bus are at rest with respect to one another.
But all appear to be in motion to a man standing outside the bus.