Why does my character extend their mesh while walking?

Hi all!

My 3D character idles fine. However, when she walks, her ankles push the entire top half of the mesh upward, making her grow significantly taller. Does anyone know how I can fix this?