Their relationship has multiple breakups, but the most pivotal is the "One More Day" storyline (Amazing Spider-Man #544–546, 2007):
Earlier breakups occurred (e.g., ASM #293, #350), but "One More Day" fundamentally rewrote their history.