Why are my animations flipped?

My animation looked fine in blender but then I put it in Unity and then this happened. What happened and how should I fix it?


And here’s what happens in Unity.