Why did he end everything between us? Please help?

I met a guy and he was so nice, caring and loving and we were really caring about eachother and we started to date and after several date, yesterday i was working remotely at night and we agreed on going to meet outside while I work and he do few stuff. And we did and it was amazing and we ate together then something happened at my work and i had a panic attack and cried and he had comfort me and i felt bad that i had a panic attakc because i didn't want him to deal with me like this but he was helpful and caring. Once I went home, we had a call then his behavior changed and he was a totally different person, dismissive, rude, not caring and i asked him many time and he was like u really dnt know? I told him is it becs i cried and my panic attack? He said i knew u were acting like u are having one and it felt like i was watching a play and this whole thing u did is bullshit because why would have a panic over work? I think u are hiding something bigger that made u act like this and u r lying to me and i dont want to commit to someone like you and i was astonished because i didn't lie and i told him that i swear my panic was over work and nothing else. He kept declining and telling me u showed me a different person today and i dont like the "you" i dealt withh because those crying and attacks are stuff girls love to do and you wasted my time when i had to comfort you when i was supposed to get things done so lets call this off. And now i feel bad and i feel guilty about what happened. Im blaming myself for ruining this and for making him leave me...

Why did he end everything between us? Please help?
Post Opinion