I don't know what to do

So me and my boyfriend have been together a while and it's started to feel like we're slipping apart. My mum went to jail recently and I want him to understand I might not be in the mood for many things and I'll be emotional and clingy and he doesn't get it. He just gets annoyed and snaps and makes me feel like it's my fault. I know he doesn't mean to but it hurts, what should I do?