Friend problems

So I resented got into a heated agreement with a friend and things went straight to south. So I saw in Snapchat about him saying not having a girlfriend and what’s Oh ever. So I texted him telling him that he doesn’t need a girlfriend that he has us as friends and that if he likes someone he needs to be patient and wait and see. But he immediately told me that he hated how friendly,pure and innocent I was and that I should stop with all of it and with my hugs and smiles. And I planned to say sorry to him but my gut is telling me I shouldn’t since he seems to have problems of his own. And I don’t deal very well with a argument especially if he is going to flash out on me. I am not sure what to do since I also feel very bad since I never heard anyone hate me for being nice and friendly towards everyone m.