Am I the one being insensitive, or is my boyfriend the one who doesn’t care about me?

Hi. My boyfriend was having some family problems. When I woke up for suhoor, he was online. We just said good morning, and he said we would talk about his family problems tomorrow. I said okay. I came home from work at noon and asked him, “So, what happened?” He said, “I don’t want to talk about it. We’ll talk later.”
I asked him why he was online when I woke up for suhoor. He said he was talking to his friend. I said, “So that means you don’t want to talk to me, but you can talk to your friend at 4 a. m?”
He said, “I’ll talk to you later. I’m not okay right now. Some new things happened, so I don’t want to talk.” I wasn’t convinced. I said, “If you want, we don’t have to talk at all. You probably don’t even tell me most of what you tell your friend. But I see you as the closest person to me and I share my problems with you.” He said I was being insensitive. He swore that he tells me too. He said, “Even if my friend were here right now, I wouldn’t tell them either. New things happened, so I’m not feeling well and I don’t want to talk.”
One minute later, he said, “Come, I’ll tell you.” I said I didn’t want to listen anymore. Then we ended up arguing.
Do you think I’m right? Doesn’t he see me as someone close to him?
Updates
4 mo
Please explain your thoughts.
Am I the one being insensitive, or is my boyfriend the one who doesn’t care about me?
Post Opinion