Why am I thinking like this

Back on New Years my ex broke up with me and I was devastated. Recently I started talking to this new guy and we are getting to know eachother and out of no where I just thought of my ex and I’m crying so hard as to why wasn’t enough for him. Have I moved on ? I legit never thought about him until right now