Why do I get weird rotations in exported FBX?
When exporting, different formats have different space formats. Usually it's just a case of the axis getting mixed up.

There's some help here, but generally I'd suggest skipping exports if possible.