You wouldn’t talk about past romantic relationships with a current romantic partner or someone you’re hoping to be romantic partners with. If Emma asked specifically for the information then fair enough but I don’t see Hook volunteering the information.