You sound like you were traumatized by the relationship, and the damage caused has overridden the good times. Your brain and body have good/protective reasons to remember the painful experiences. Focus on healing the trauma and perhaps the good memories will return. But it they don’t, it’s because your brain is taking care of you. Allow that to be.
Debra Holland, Ph.D, author, The Essential Guide to Grief and Grieving