Why did Jesus weep when He went to see Martha and Mary after Lazarus died?
Let's review the passage in the Gospel of John where we see Jesus described as weeping:
John 11:33 When Jesus therefore saw her weeping, and the Jews who came with her also weeping, He was deeply moved in spirit and was troubled,
John 11:34 and said, “Where have you laid him?” They said to Him, “Lord, come and see.”
John 11:35 Jesus wept.
John 11:36 So the Jews were saying, “See how He loved him!”
John 11:37 But some of them said, “Could not this man, who opened the eyes of the blind man, have kept this man also from dying?”
John 11:38 So Jesus, again being deeply moved within, came to the tomb. Now it was a cave, and a stone was lying against it.
Though Jesus had the power to raise Lazarus from the dead and even knowing that this would happen shortly, neverthelsss Jesus felt human emotion and compassion, not only for Lazarus but for his family as well. We see in the scripture how Lazarus' family was mourning over his loss, and Jesus was apparently overcome with emotion as He shared their grief.
We sometimes diminish His humanity and think because He could correct this situation supernaturally, He had no reason to show emotion over the death of Lazarus. Clearly, this is a false assumption, as Jesus was deeply touched in seeing many of his friends languishing over the death of a loved one. It's likely also that He was moved by the consequences of man's sin, being death and suffering.