HELP!!!!

Ok so here lately me and my boyfriend haven't been having sex due to somethings he's going through right now which is completely understandable but today felt like the right time to have sex so we're getting into it and he thrust twice and pulls out and just got up and walked away and it made me feel like I was the problem HELP