Should I deliver some snacks to a friend?

My friend is on edge today and he’s not the type to delve into his problems. He prefers talking about other things and asked how was I? I asked him if he would like me to leave him alone today, because that is how I deal with being upset.

He got upset by my question and told me off. I called, sent him a text letting him know I wasn’t dipping out of the conversation but wanted to guage what he needs. Then I made the mistake of telling him not to use that type of language around me and I wasn’t going to tolerate it. To that he told me off once more.

I know I’m in the wrong for this and should apologize because I recognize he’s not going to divulge what’s going wrong and I should have just carry on normally talking about my day. I guess it was a weird feeling for me to do that (talking about myself) knowing he’s not doing too well.

Was thinking of dropping off some of his favorite snacks at his door later today and texting them they’re there as an apology.