Rejected and hurt

I disclosed my status to my fwb before we did anything. I asked if he had any questions and he said he didn't. Initially he was fine with it. We had protected sex for about 5 minutes total at which point he came and I I myself off. Fast forward to last night, I was giving him a blow job as he was attempting to finger me. When I tried to switch gears to sex, he said he has been worried since the last time that he might have herpes. I told him I understood and got myself dressed. He was still laying there naked and saying my mood completely changed. I didn't really have anything to say so I walked out and left. He got to my car and was knocking on it until I drove off. I've now blocked him on everything. I just feel hurt, but now I dont know if I'm the asshole. I know my self worth and I just was so mad. I cried on the way home but now I'm worried that I should have stayed. I just don't know why he would bring it up at the last second and if he expected me to just get him off and be cool with that.