How come my projectile only fires in X?

and if I remove the x velocity, it just drops the projectile as soon as it fires