i think its based on your direction
moving towards red is the fastest, moving towards blue on its own turns you that way and gray is slow and also the game borders are arrows wrapping around so yeah the game wants you to move clockwise
(but i might be wrong lol)