Relationship / break up advice?

I could use some advice. My boyfriend of 1 year & 9 months broke up with me out of no where. I didn’t see it coming. He said he’s been unhappy for awhile, my family drama (like I can help those crazy fools?) and he said he wasn’t sure if he loved me anymore romantically. But then he texted me him and his dog are missing me and he needs time and space. Which is fine but you don’t just break up with someone randomly in the afternoon over the phone at 30 years old? I’m really torn on how to even feel or what to feel. His mom and I are really close, she said she is sad and hurt too. But she said she will see me again when I said I would miss their family and that to give him space and time. I’m just like what the fuck am I missing? I have barely a clue, he keeps saying he doesn’t know how to “fix it” but won’t elaborate.

I start nursing school next month, and I turn 27 next month. Not really how I expected an adult relationship to be.