what to do?

Love.peace.happiness
I am 16 years old and I'm finally allowed to start dating, my sister invited my boyfriend over for dinner and we planned it a week ago the. At the last minute he told me he couldn't go and I felt kind of disappointed so I've been hiding it and playing it off so yesterday I stayed out with a friend because I haven't spent time with her in a while so he got mad and started cursing me out and making it seem like I had to check in with him but apologized when I saw him. So today I saw him and I was rude to him because if how he treated me yesterday,  was I wrong ? Should I text him to fix my actions ?