The most common cause of atrial fibrillation is structural heart problems. Coronary artery disease is one of the possible causes of atrial fibrillation. A heart attack occurred.