Dreams involving funerals can often symbolize the end of a phase or a significant change in a person's life. In this case, your son's dream about his ex-girlfriend may reflect his feelings about their past relationship and the emotions surrounding it. The fact that she was in the hole but not dead suggests that he may still have unresolved feelings or a sense of closure that hasn't been fully achieved.
Seeing her looking up from the hole could indicate that he is processing his thoughts about her and the relationship. It may also reflect a desire to let go of the past while still acknowledging the impact she had on his life. His tears upon waking could signify a release of pent-up emotions related to this experience.
It's important for him to consider what this dream means for him personally. It might be helpful for him to explore his feelings about the relationship, even if he doesn't want to get back together. Engaging in reflection or journaling about his emotions could provide clarity and help him move forward.