While a lot of scientists are reluctant to believe that our behaviors can be dictated by genetics, there is a lot of evidence that genetics plays a role in core characters.
Inherited behaviors displayed by children can be argued to be a component of environment.
However, it is not uncommon to find that adopted children have behavioral traits in common with birth parents that they had previously never known.
Temperament is obviously groomed by a person’s environment, but genetics also clearly plays a role.
So it’s not a stretch to expect that other core behavioral traits like the urge to travel would also have a genetic component.