Welcome to Health Care Magic
It appears to have no relation.... There is an old expression, “Post hoc ergo propter hoc”, meaning ‘after this, therefore because of this’ / It is natural human tendency to associate things with the immediate past - which is always not true...
You should consult a Cardiologist
EKG / HOLTER (24 to 48 hour ambulatory monitoring) / ECHOcardiogram
/ TMT (Treadmill exercise ECG) / LABORATORY work-up – may all be necessary for further assessment and assistance.
You may even need Electro Physiological Studies (EPS)
The treating doctor may suggest them depending on need, based on his assessment of the situation.
Wishing speedy recovery