Fascinating, but kinda creepy. What prompts them to spontaneously leave the nest and go to a certain place? Feel like this raises more questions than answers!
This behavior is thought to be innate, which by definition is considered to be not learned behavior but preprogrammed into DNA. Consider a plant titling towards the sun.