Not sure what happened

My bf and I almost broke up two weeks ago because our communication was always off. We've been together for over a year, and long distance for nearly 5 months. We reconciled the day after we almost decided to end it. The past couple of weeks have been pretty good, we're getting better at communicating. The problem is that tonight he was in town and he wanted to come an see me for a little bit. He's been dealing with financial issues and it put him in a bad mood today. I wouldn't have paid much attention to it if he had been at least a little excited to see me. We don't see each other very often and I'm always excited to see him no matter what. It felt like I was an inconvenience for him, even though he's the one who wanted to see me. His anger wasn't directed towards me but it was evident that he was so distant towards me. By the end of date, he dropped me off and told me he had stuff to do. I was left in shock, I didnt really want to acknowledge him after that. I left with tears in my eyes feeling like I burdened him somehow. I know hes going through a lot, but he was being kind of a jackass truth be told. He hasn't messaged me all night( which I expected, cuz he told me he wouldnt) and I hadn't made an effort to do it either because I'm so angry and insulted. He really hurt my feelings and I don't know what to do. I wanna yell at him but I know that won't do anything. I don't really want to talk to him until tomorrow, if even then . I need advice!