Is my boyfriend being mean? 😣

So my boyfriend and I was on the phone for a while. He felt shitty and was upset so I tried to be there for him. Then we ended up talking about something bad and it wasnt a pleasant conversation.

We were about to end the call but we were both feeling upset. I didnt want him to be in a bad mood so I tried to make the call a bit happier and light hearted. But he just said "I don't want to talk to you anymore" in the coldest way possible.

I was taken aback and said "you really hurt my feelings, I dont like it when you say that"

He was just like "yeah no point in talking with you"

Then he just hung up on me. I was so hurt and upset he did that. I felt like I was trying to cheer him up and he was just being mean to me.

After a few mins he messaged me this :

"It's said that we hurt the ones we love the most. There are psychological reasons for it, but today I think it's just the adhd medication. I didn't mean to be so jarring, it's just that it felt fake - like you mentioned. We are not like this! We normally get along with eachother well and smile, so this felt out of the ordinary and wrong. It was like having a garbage compactor slowly squeeze me the whole time and ending the call would release me from it. Actually that turns out not to be true, I feel just as bad. I'll never say that to you again."

I just feel like he's toying with my feelings.

What's your advice?