Avoiding someone just because they're sad makes you appear shallow.
Philip's best friend just lost his job and feels miserable, so he asked Philip if he wanted to hang out on Saturday evening.
Philip wants to have a pleasant Saturday evening.
Philip spends the evening with his best friend - they play video games, drink beer and have a great time.
Philip decides to hang out with other friends instead in order to avoid his best friend's depressing mood.
Philip's best friend feels comforted that Philip is there for him.
Philip's best friend feels like Philip is superficial and is letting him down.