Am I in the wrong?

My boyfriend woke up and is mad at me for sleeping on the couch last night. I only did it because the past couple days I’ve told him I loved him he hasnt said it at all. What really got me was I was trying to tell him goodnight and that I loved him before going to bed I noticed he didnt say it back again, so I asked him about it last night after I said it and he didnt say it again. He just laughed like it was a joke and rolled over and went to sleep. Tbh it hurt my feelings and I didnt wanna sleep beside him last night.

* I’m sure age will be asked so I’m 22 hes 24. Been together over 3 years btw