Even Jesus asked why. God’s incredible plan brought purpose out of pain. While Jesus' pain on the cross was incomparable - he shouldered separation from God with the purpose of our being close to God - we see that there was a purpose to the pain, he was ending the reign of sin over the world he loves. Jesus finds Mary in her pain and sorrow and surprises her with new life. She wasn’t looking for a resurrected Jesus, but Jesus changed her purpose and changed her life. Eventually Jesus appears to his disciples, who were hiding in the upper room of a house. The power of the resurrection wasn’t immediately clear to them - they were still afraid of what the Romans would do to them, not realizing that Jesus had already conquered the very thing they were afraid of - death.