The breaking up with her boyfriend and in general breakups of long-lasting relationships are known triggers for MH symptoms. There is some uncertainty about change and deep in yourself, you are still in that relationship no matter how bad it was at the end.
Breakups are one hard on everyone, not just you. People are becoming homeless because they can't cope well with breakups.