Need advice. Boyfriend isn't there for me.

I need some advice. Today I found out a family member of mine passed away, due to suicide. I wasn't super close to her as I got older but a lot of my child hood time was spent with her. And her daughters are my age ( my cousins) and we still talk every now and again. I'm super upset and in shock. I was in a terrible mood due to finding out that news, so I wanted to vent. My boyfriend has not been supportive, one bit. He claims I gave him attitude and not to take it out on him. I apologised to him if I was, but he still is avoiding me and making me feel terrible. I expected him to atleast give me a hug and tell me it's ok. I never expected him to be like this as wev been together for quite a long time and he is a really great guy. But I'm so taken back by this. Isn't he meant to be there for me? Isn't he meant to try and cheer me up instead of tearing me down? I am actually really considering our realtionship over this because I could just never do this to him.