Cancer and its treatments can influence the cardiovascular system in multiple ways. Some chemotherapies and targeted therapies can be cardiotoxic, potentially leading to irregular heartbeats. Additionally, the physical and emotional stress of a cancer diagnosis can also contribute to palpitations. Certain cancers, such as those involving the lungs or thyroid, can also affect heart function directly.