In your subconscious, you are still obsessed with your ex-girlfriend and eager to start a family with her. Maybe your marriage is not satisfactory now, and you regret it.
Advice: Don't think too much, the past is over, cherish the previous family and marriage, after all, there is no regret medicine in the world.