I don't know about this specific bird, but many birds have what are essentially biological compasses built into them.
> They do this with the help of the magnetically sensitive proteins in their eyes and the magneto-receptive cells in the vestibular nucleus in their brain.
[1] https://phys.org/news/2022-02-compass-birds-ways-foreign.htm....
I give you a compass and an 11 hour ride on a typhoon. The compass won't give you magical ability to return to your starting spot.