Only the vertical part of the launch velocity fights gravity. Peak height is h = v_y² / (2g). At the very top, vertical speed is zero — but horizontal speed carries on.
Only the vertical part of the launch velocity fights gravity. Peak height is h = v_y² / (2g). At the very top, vertical speed is zero — but horizontal speed carries on.