How rockets work ... does have something to do with gravity.
Nearly all flat earthers agree the earth is not a globe.
Rockets work whether you use them to lift something off the ground, vertically, or whether you use them to drive something along the ground. Gravity has nowt to do with this.