The only thing I can think of is that your friend is feeling needy in one way or another, and thus the "cold" comment. It could be that he wants *more* of your attention in some way...whether romantic or platonic, I don't know.
That was my first thought when I read your post - that your friend wants more of your attention in some way and perhaps expects you to read his mind or notice that he's wanting more of your affection, closeness or what have you.
I wouldn't take the "you're cold" comment too personally - sometimes people say weird things like this when they are feeling frustrated and can't explain why they're feeling the way they feel. There's a possibility that he doesn't even know why he said it - and that he just kind of blurted it out - because on some deeper, and more emotional level - he wants and needs something more from you at this time. Meanwhile, lots of times people don't know how to ask for what they need...and weeks or months later, a person might lash out and make a weird comment like this out of the blue because they want or need something more.
Not your fault at all - it's perhaps a case of your friend wanting and needing more of your love, care, attention and affection in some way - but he hasn't said so...and he then gets 'mad' at you for not being able to read his mind. In my opinion, this isn't a reason to ditch the friendship - just recognize that he's not very good at expressing his needs. Pretty normal, if you ask me.
If this is a possibility, then I'd suggest opening up the lines of communication a wee bit more and asking if there are things he wants to talk about and so on.
This isn't to excuse the comment that hurt your feelings though. I think you should tell him that his comment hurt quite a bit and ask him why he said such a thing. Hopefully, he doesn't get all defensive and put the blame on you, when there's a good chance that the real reason he said it in the first place is because he wants more of your care and attention, but somehow neglected to mention it to you! You're carrying on as per usual, without knowing that he's feeling a bit more needy for some reason, and then ...he gets mad at you for not having ESP.
True story:
****edited to add: this was a few years ago****
I was having a very hard time in my relationship, thinking of leaving my long-term boyfriend. Serious stress, angst and even despair. I get together with my Dad for our usual coffee/brunch deal ...he's yammering on about how his coffee maker is leaking, how mad he is about property tax going way up, whether or not "lichen" is a real colour, should we go downtown and check out some new store. He's talking about my Grandma and what do to about getting her a pair of glasses. Oh, and he found this great new dessert place downtown...yadda yadda yadda. Meanwhile, here's me - totally stressed, upset, worried about what I'm going to do with the rest of my life. I might have to leave my boyfriend. What will I do about the condo?
I end up thinking my Dad doesn't care. He's self-absorbed. Selfish. Uncaring.
Meanwhile, he has *no idea* that something's going on with me. We're just doing our usual thing. The same thing we've always done every single weekend. Is it my Dad's fault? No, not really. I haven't said anything.
Meanwhile, I could have easily blurted out something along the lines of , "You're cold!" or something similar. My Dad ends up being the bad guy for carrying on as per usual.
Thing is? He has no clue that something serious is going on with me. Because I haven't spoken up, but yet - at the same time - I'm expecting him to *be there* for me somehow. And if he's not, then he's somehow being mean.
Does this make sense?
I think your friend is going through something - and hasn't said anything, *or* he wants more of your attention somehow. Meanwhile, you're carrying on as per usual, not knowing the 'goings on.'
You are not cold. I think your friend has something going on in his life or just wants something more from you right now, and you're in the dark, so somehow ...you get blamed. Not nice, but ...it happens. It doesn't mean that your friend is a bad guy at all - just that he maybe doesn't know how to explain or ask for what he needs right now.
I would not give up on the friendship at all....and further, I would assume that the reason for the "cold" comment is because your only 'fault' is that you're not a mind reader. Most of us aren't mind readers, so don't worry about this one too much!
Ask him what's going on.