The mechanisms by which cardiotoxic agents affect the heart vary. Some agents interfere with ion channel function, leading to arrhythmias. Others may disrupt mitochondrial function, leading to cardiomyocyte apoptosis or necrosis. Additionally, some agents cause oxidative stress, which can damage cellular components and impair heart function.