Not on purpose
They don't do it on purpose, really.
Instead, they have difficulty maintaining an inner image of their partner still being basically "good, " during times of disappointment. During such experiences it's as if the good times never existed, and they're aware of only pain and rage. Feelings about the partner gyrate from idealization to devaluation, quickly enough to damage the relationship.