Thanks for playing! The scaling depends on your position relative to the center of the object you're trying to scale. If you cross the halfway point of the side you're trying to compress, it will switch up, so you'll continue to stretch the other half instead. This makes it seem like the object is moving.
I hope this helps and thanks again!