The velocity of the Y-axis changes because of gravity but X-axis there has no change for projectile velocity because we know that gravity works only vertically. the x-axis is horizontal. for this gravity on the x-axis is zero. So, X-axis there has no change for projectile velocity.