Because it was a flashback. Which, if this episode really was when baby Eriksen was conceived, then this happened before Landmarks, which means he would still be with Zoey. And which also means that Lily would be 11 weeks pregnant, even though it takes at least 16 weeks to find out the gender. So many anachronisms. Sorry, rant over.