How does anxiety cause a heart murmur?

Faster blood flow. Anxiety can increase heart rate. That sometimes produces a benign "flow murmur". It's not significant, but new murmurs need to be checked out -- and perhaps even more importantly, anxiety needs to be assessed and effectively managed.