At a guess, I’d say your wing joint isn’t inheriting the rotation from the Root joint. There’s two ways to fix this: clear parent on the wing joint (alt+p), then select the root joint and clear its rotation (alt+r) then rotate the wing joint -90 on X and apply rotation, then make it a child of the root joint, then rotate the root +90 on X again (and do not apply that rotation).
OR: clear parent on the wing joint, switch one of your viewports to python console, and enter
D.objects['Wing Joint Name'].parent = D.objects['Root Joint Name'], which will force the child to inherit any transforms from the parent.
I think it’s a bug that the parent_set operation that ctrl+p does doesn’t inherit transforms when you don’t select the ‘keep transform’ option, but I don’t know if it’s ever been reported, or where in the Blender development priority list it sits if it has been.