She had a deep need and He moved to fill that need. Do not weep. This has been said far too often at funerals. It is the wrong thing to say. Grief at a funeral is entirely appropriate.
Death is an enemy and the death of a loved one is a great loss.
Nevertheless, Jesus told her not to weep. He alone had every right to tell her this because only He could remove the cause for her grief. And Jesus gave him back to his mother. The actions of Jesus were highly unusual. First of all, He touched the coffin.