Lots of good advice from OEN and Lorelyen. As they say, it
isn't your fault, he was uncommunicative when you did text him so you gave him space (did you explain this to him?), which seems perfectly reasonable in the circumstances, but he took it the wrong way and an issue got triggered in him - those old wounds from when he was cheated on, presumably. Just bear in mind, that
is ultimately his issue and his responsibility, not yours, and by the same token it's important for you to take ownership of
your issues, too, just as we all ultimately have to if we want to find peace within ourselves (and we
all have issues, so there's no shame in it). So give your attention to what you're feeling, rather than getting lost in mental stories about the rights and wrongs of the situation - it can be a heck of a lot easier said than done, I know! - and just let yourself feel what you're feeling, and have compassion for yourself, because you deserve that
As for the walls you put up, what's great is that you recognise that you
are putting up walls - pretty much all of us do, but not all of us realise we're doing it. And it's completely understandable that we do so, we got hurt when we were young and vulnerable and naturally we don't want to experience that again, so we put those protections in place to try and avoid a repeat. The only problem is that those very walls prevent us from experiencing real intimacy, both within ourselves and with others, and so if we want to experience that we need to allow those walls to drop. What that means in practice is that you have to feel into the wall when you sense that it's gone up, and then relax and feel the fear that it's made out of - it can be quite challenging at first and the fear can even heighten as you become aware of it, but the key is to not resist what you're feeling.
And just remember -
you're not to blame