Would you break up with your partner if he did this?

Me and my boyfriend are on vacation but sleep separately. He stays at his parents house and I stay at a hotel to accompany my mom who tagged along on the trip. He has been picking me up and dropping me back because he is the only one with a car, but tomorrow he is taking my mom and I to get a rental car. He and the hotel staff warned me not to put my phone near my hotel key card because it would become defective. I accidentally put the two close together. When he dropped me to my hotel room he saw my card wasn't working on the door. He yelled at me as he walked back to his car saying "You're gonna have to get a new one tomorrow!" He didn't say his usual love you or goodbye. Tonight he texted me saying he was gonna pick me up at 1030 am to get a new key card and that it was my one chance to sleep in. I responded saying Ok. Then he said "Love you too! Sleep well." Do you think he was being rude?
Would you break up with your partner if he did this?
Post Opinion