On-again, off-again relationship
An on-again, off-again relationship (also known as an on-and-off relationship or simply on-off relationship) is a form of interpersonal relationship between two people whose breakups are followed by reconciliation, perpetuating a cycle. Relationship reconciliation is defined as the process in which partners attempt to heal the hurt or wrong that was done and move on from it to progress forward in the relationship.
Source: Wikipedia — On-again, off-again relationship (CC BY-SA 4.0)