I would add to that comment about loving perfectly- it is also possible that perfect isn't attainable, because the issues involve the other person's feelings. We can't control what someone else thinks or feels.
Pefect isn't attainable because, no human is perfect. Any two people are going to have differences and disagreements at some point. In an emotionally healthy relationship- conflict isn't all the time but when there is, each person has the ability to resolve them.
It is confusing when this turn around is out of the blue- you think things are going well, and then suddenly not. Why this happens, it's hard to know what is going on with the other person- but what you do know is that it did happen. Maybe it's BPD, maybe not- but whatever it is, you saw it happen.
Why she doesn't remember it? It can be dissociation- where the person is so flooded with feelings they have difficulty recalling what happened, or it can be denial- where they compartmentalized it, or shame avoidance. However, not remembering or not being accountable is problematic in a relationship.
What you can control is your own choice. If you are in this section, then you are moving on from the relationship. That you wonder, question yourself, that is a normal response to this confusing behavior. It may not be possible to know why she does that. It may not even be about you or anything you did or didn't do. Sometimes there's no closure with this, other than the closure you give yourself.



. The two of you weren't best friends for years, you were aquaintances in the park, and she says this.