
It doesn't have to be, I don't think. If you broke up on good terms, just try to be friendly with him, though don't push it right now. Just be genial. It will be a little awkward for a bit, but I think in time, it'll be okay.
You did the right thing here.