And when she had said these things, she went her way and secretly called Mary her sister, saying, “The Teacher has come and is calling for you.” 29 As soon as she heard that, she arose quickly and came to Him. 30 Now Jesus had not yet come into the town, but was in the place where Martha met Him. 31 Then the Jews who were with her in the house, and comforting her, when they saw that Mary rose up quickly and went out, followed her, saying, “She is going to the tomb to weep there.”
32 Then, when Mary came where Jesus was, and saw Him, she fell down at His feet, saying to Him, “Lord, if You had been here, my brother would not have died.”
33 Therefore, when Jesus saw her weeping, and the Jews who came with her weeping, He groaned in the spirit and was troubled. 34 And He said, “Where have you laid him?”
They said to Him, “Lord, come and see.”
35 Jesus wept. 36 Then the Jews said, “See how He loved him!”
37 And some of them said, “Could not this Man, who opened the eyes of the blind, also have kept this man from dying?” — John 11:28-37.
Jesus weeps when He sees Mary and the Jews weeping. As well as sympathy, this is probably caused by the lack of belief and lost state of the unbelievers around Him.