When therefore he was raised from the dead, his disciples remembered that he said this, and they believed the Scripture, and the word which Jesus had said.

 So Mary came to Jesus to tell him that it was so. The King James Version translation of Jesus' reply makes it sound very discourteous. It makes him say: "Woman, what have I to do with thee?" That is indeed a translation of the words, but it does not in any way give the tone. 