Because one pole of the Earth's axis of rotation (the North one) points
almost exactly toward Polaris.
If Polaris had a pimple or a bump somewhere on its edge, you'd see
the bump rotate around the whole edge, like a clock, once a day. But
the whole star appears to stay in one place, because our axis points to it.
When the body is at rest, its speed is zero, and the graph lies on the x-axis.
When the body is in uniform motion, the speed is constant, and the graph is a horizontal line, parallel to the x-axis and some distance above it.
It's impossible to tell, based on the given information, how these two parts of the
graph are connected. There must be some sloping (accelerated) portion of the graph
that joins the two sections, but it cannot be accounted for in either the statement
that the body is at rest or that it is in uniform motion, since acceleration ... that is,
any change of speed or direction ... is not 'uniform' motion'.