I understand the usefulness of sensing the magnetic field to navigate north/south/east/west; what I find hard to believe is a need to use the magnetic field to navigate up/down.
Magneto-aerotaxis can be used to help some organisms find correct oxygen concentrations apparently(field gradients):