Panic attack?

My ex was awful but not really abusive. He was just very manipulative and lied a lot. We had an open relationship only for sex but after he left me he told me that he had been dating another girl since before we met. He said he had stronger feelings for her and basically described how she was better than me and that he got to see her a lot more than he did with me. It sucks and it hurts a lot. I constantly feel bad about myself because of it. He later on called me a couple weeks later and as soon as we got off the phone I started having trouble breathing and my heart was beating really fast. I also felt like I was about to pass out. Was this a panic attack? If so why would he be a trigger?