Why does A save Spencer?

In this scene, Ian attacks spence and A saves her. Why? Dont worry about spoiling it for me, Ive watched tbe show before, Ive just forgetten

In this scene, Ian attacks spence and A saves her. Why? Dont worry about spoiling it for me, Ive watched tbe show before, Ive just forgetten