Remember, Mary didn’t recognize Him when he came back until He spoke to her. His beard had been pulled out among other things.-
Zechariah 13:6
And one shall say unto him, What are these wounds in thine hands? Then he shall answer, Those with which I was wounded in the house of my friends.
And of course the commentary in Isaiah 53 about how He was marred. That would be especially true while still on the cross. Still, it would seem notable that Mary didn’t exactly react as though she had seen a horror. She doesn’t flee; she asks a question.