Bona fide UFOs do wild zig zags—stop, start, wild acceleration, then hover, sudden reversals in direction, sudden and super-quick changes in altitude, change colors, sometimes even change shapes etc. Many of them actually wobble as well (as though they were bobbing in an ocean).
It is very easy to distinguish between those and balloons, airplanes, chinese lanterns, etc.
Sounds very much like an optical phenomena.
Optical phenomena have no mass, and can accelerate, decelerate, etc. very easily.
Think cat chasing laser light dot.