Cardiovascular medicine

Why can an acute myocardial infarction increase the risk of dangerous cardiac arrhythmias?