AFAIK it all boils down to the fact that during embryonal development our cells, which at that point were just a blob of undifferentiated autonomous chemical machines, somehow managed to unanimously agree upon the cardinal directions (up-down, left-right, front-back) for future development - and thanks to this, we don’t have toes growing out of our ears.
Interestingly, the recurrent laryngeal nerve is looped around that way because the structure of the nerve grows in before the structures of the aorta and other large vessels fully grow in and orient into their correct position, so the nerve ends up looping around them.