Robert Lopez wrote the music and Kristen Anderson-Lopez the lyrics. The couple live in New York but travel to the West Coast often, leaving their children with caretakers and Anderson-Lopez wanted to apply the lyric to their own family situation. "How do we stay connected when we are so far away?," she said to Variety
. "I wrote that lyric from a very personal place... and it seemed to work for what [the film] needed."