Robitussin d vs dm

Chaya

I have a very bad cough as well as an increased heat rate. I’m 36 weeks pregnant and my primary care doc said robitussin d will increase my heart rate more and Robitussin DM will not so I can take the dm. How does this make sense? It still has the Dextromethorphan in it