While others were thinking of Jesus going into
Jerusalem the next day was to become the
Messiah of Israel (to become their earthly king)
Mary apparently understood Jesus' words about
His death and burial.

She never thought of disputing His statements
of His death like the disciples did. And she didn't
have any thoughts of taking part in any political
ambitions.

When Jesus spoke of His coming death, she took
it literally.