The author of the gospel of John tells us that after having been informed by Mary that Christ is risen the disciples(one of them Peter) went to the tomb and only saw the face cloth and linen wrappings he had been wrapped in
John 20:3-7 NASB
So Peter and the other disciple left, and they were going to the tomb. 4 The two were running together; and the other disciple ran ahead, faster than Peter, and came to the tomb first; 5 and he stooped to look in, and *saw the linen wrappings lying there; however he did not go in.6 So Simon Peter also *came, following him, and he entered the tomb; and he *looked at the linen wrappings lying there, 7 and the face-cloth which had been on His head, not lying with the linen wrappings but folded up in a place by itself.
It is only after the disciples had left that Christ revealed himself to Mary
John 20:11-17 NASB
But Mary was standing outside the tomb, weeping; so as she wept, she stooped to look into the tomb; 12 and she *saw two angels in white sitting, one at the head and one at the feet, where the body of Jesus had been lying. 13 And they *said to her, “Woman, why are you weeping?” She *said to them, “Because they have taken away my Lord, and I do not know where they put Him.” 14 When she had said this, she turned around and *saw Jesus standing there, and yet she did not know that it was Jesus. 15 Jesus *said to her, “Woman, why are you weeping? Whom are you seeking?” Thinking that He was the gardener, she *said to Him, “Sir, if you have carried Him away, tell me where you put Him, and I will take Him away.” 16 Jesus *said to her, “Mary!” She turned and *said to Him in [a]Hebrew, “Rabboni!” (which means, Teacher). 17 Jesus *said to her, “Stop clinging to Me, for I have not yet ascended to the Father; but go to My brothers and say to them, ‘I am ascending to My Father and your Father, and My God and your God.’”
Why did Christ reveal himself to Mary only?