A projectile moves along its path with a constant horizontal velocity. But its vertical velocity changes by -9.8 m/s each second of motion.
The horizontal displacement of a projectile depends upon the initial horizontal speed and the time of travel. The vertical displacement of a projectile depends upon its initial vertical velocity, the time, and the acceleration of gravity.