While in motion is an important phrase. A jack is only in motion if it has been legally disturbed. So a jack that is hit by a rebounding non-toucher is not in motion, nor is a jack that has been disturbed by someone's foot or any other outside force (this list is not exhaustive).
The re-spot rule only covers a small number of situations in the Laws, but they are the most common situations we experience on the greens.