How can I help him and how do you cope?

The guy I'm dating is emotionally available because his grandma died. Lately, he's been avoiding talking to me and withdrawing. It kind of hurts me and makes me sad when he does this but I understand it is a part of the mourning process. But for some reason, he talks to my friend who is a dude but not me.

I know time and space is the answer. I am just hurt. What do you do to help your BF while he's mourning and if space is the answer, how do you cope? Is he trying to cut us off?