Let’s take a look at each gait in detail:
Walk
The slowest pace of the horse, at the walk, the horse moves each leg in turn, which makes this a four-beat movement.
Trot
At the trot, the horse moves its legs together in diagonal pairs. It will move the right fore leg at the same time as the left hind leg, and vice versa.