When she finally gets pregnant, she finds a doctor that's willing to let her do everything she's not supposed to, such as, pictured above, drinking wine, and when Ted calls her out she gets pissy. Obviously Ted has some boundary issues, but he was concerned for the well-being of the child. When Marshall agrees with Ted, she immediately shuns him as well, sitting at home to eat cheetos an drink wine. At the end OF COURSE Ted "feels bad" about not listening to Lily, even though he was the one in the right all along.
doesn't matter. would still do