Constant acceleration will cause the surface of your coffee to tilt, but not spill it unless the cup is almost full. Jerky motion (non-constant acceleration) causes it to slosh around and can create resonances that disturb the fluid level far more than a constant acceleration of the same magnitude would.