Was I in the wrong when it comes to this fight with my guy friend?

I kind of got into a little tiff with my guy friend earlier in a text conversation and I'm still trying to wrap my head around it. I want to know if

He got mad at me for making my point with something he brought up (About me deleting people who don't respond to my stuff) but quickly backtracked by saying "Nevermind" when I said "Huh?'' I ended up responding to the initial statement he made anyways by saying I didn't care if people responded to my stuff but that I delete people who continously engage in drama and BS, however, since I was not in any mood to get into an argument over any of that (Which ended up happening anyways), I told him I was changing the subject and to find something else to talk about or I go about the rest of my evening and he can do his own thing.

He shot back with that he didn't "need to f**ing find something else to talk about "and not to threaten him by not talking to him, which I didn't. All I said was to find something else to talk about or I'll let him finish his beer and I can go on with the rest of the night, which was not a threat at all. We can either talk about something or not talk. That is not a threat but a factual statement.

I did apologize if my statement upset him. I also reminded him that he was the one who initially brought it up and to please not make vague statements and then not clarify them and that his text about not threatening him did upset me because it seemed like he was lashing out. I told him to feel free to talk to me when he cooled off.

Now I'm just wondering if I was in the wrong with any of that.
Was I in the wrong when it comes to this fight with my guy friend?
Post Opinion