AITA?

I’ve been talking to this guy for a few weeks and we were supposed to meet up last week for a date. About an hour before he texts me and tells me he needs to cancel because a family member passed away. I told him I understood and would be there in anyway he needed support. He spent the last week out of state. The problem is, this last week he’s been kinda cold towards me. Some of the stuff he says just comes off offensive and he makes jokes at my expense that just don’t feel friendly. He asked me to come over today and I made an excuse as to why I can’t. Tbh I’m not really feeling it with him anymore. But I don’t know if I’d be an AH for breaking it off this close to his family member passing away? Advice?