All is good. I'm engaged!

OK so maybe a bad idea lol but done now, but I text my ex saying "i probably shouldn't be texting you and you prob still hate me, but I just wanted to say sorry, hope your well. thought about you lately" I was quite happily expecting no reply, but got a text back saying All is good, I'm engaged. So I sent back saying congratulations. I mean wtf I don't wanna get back together with him so he's safe there lol. Why would you just blurt that out to someone.