She likely understoon the words of Jesus regarding His upcoming death and resurrection - enough so that she was moved by them to this symbolic act.