When a ball is thrown up in the air, the ball's velocity is initially upward. Since gravity pulls the object toward the earth with a constant acceleration g, the magnitude of velocity decreases as the ball approaches maximum height.
At the highest point in its trajectory, the ball has zero velocity, and the magnitude of velocity increases again as the ball falls back toward the earth.
Hope it helps! :>