Like how Baby Turtles crawl to the ocean because they know it's safe.
Boggles my mind, people.
-
Because evolution and natural selection. Baby turtles that didn't immediately head towards water either died to the elements or predation. Thus any genes that they carried that caused them to head to other directions died out since they were not able to reproduce.