Without any reference object, it isn't possible to mention whether an object is in rest or motion.
It is best understood through examples-
Let us suppose that you are travelling on a bus. So for you, all other passengers sitting inside the bus are at rest. However, for a person who's outside the bus, everyone inside the bus is moving.
Hence, in the example when you are the reference object, all the passengers are stationary position but, when a reference object is a person outside the moving bus, the same passengers are in motion that is moving.
From the above example, we can conclude that the rest and motion of the term are relative terms.