Esophoria can have a genetic component, as many eye alignment issues can run in families. However, it's also influenced by environmental factors and individual eye conditions. A thorough assessment by an optometrist can help determine the underlying cause and whether genetics plays a significant role in a particular case of esophoria.