Yeah, the UE4 skeleton you included is just too different from UE5 to retarget properly. The animations are just not correct when retargeting to the new file. Should probably put a disclaimer now how the skeleton is for UE4 not UE5 instead of just "Unreal Engine".