An object is said to be in motion when it changes its position with respect to its surroundings or time.
When the position of a body with respect to its surrounding/observer doesn’t change with time, the body is said to be in motion.