Strangely, you miss your ex-boyfriend while you are married. That means that you don't love your husband truly and you married the wrong person. Maybe the problem is in your husband and he doesn't pay you attention. I think that when you faced family routine you didn't expect that your husband will be so tired after work, and he has no power to pay you attention, you started to remember how the moments with your ex. The problem is that when you don't remember about bad things that happened, but only good things.