The golden rule
The golden rule

A projectile is an object that moves freely once launched, so in the ideal model the only force on it is gravity. That means gravity can only change the vertical motion, because forces only produce acceleration in their own direction.