Ihr Herz schlägt schneller vor Aufregung.

English Translation

Her heart beats faster with excitement.

I would be interested to know the underlying reason why “vor” and not “mit”?