Dreams involving deceased loved ones can often reflect unresolved feelings or a desire for connection. In your dream, seeing your high school friend who has passed away may symbolize nostalgia for the past or a need for comfort from that time in your life. The act of sitting next to her suggests a longing for companionship or a safe space to express your feelings.
Your ex-boyfriend's presence, especially in an impaired state, could signify unresolved emotions regarding your past relationship. His being with family and children might represent the life he has moved on to, contrasting with your feelings of stoicism. It seems like you are processing your past experiences with him and the impact they still have on you.
The fact that you deliberately stopped to see your friend and encountered your ex indicates a strong desire to confront or reconcile parts of your past. Your stoic demeanor may reflect your attempt to maintain control over your emotions when faced with a difficult situation or person from your history.
Overall, this dream could be suggesting that you are in a phase of reflection about your past relationships and connections. It may be beneficial to explore these feelings further, perhaps through journaling or talking with someone you trust, to gain clarity and closure.