Clarify Antonio move

Sort:
alertjean

I am playing against Antonio(white). Why doesn't it move the c1 rook to safety when I played knight to d3? It instead moved knight from b1 to a3.