Can suddenly stopping working out and stress/anxiety cause heart palpitations?

I have consistently had palpitations throughout the day for the last 3 days. Last couple weeks I was studying for a grad school exam and have stopped working out completely and probably gained a couple pounds. Is this a realistic cause? Never had this issue before.
Thanks

Mitchell2021-04-06T03:12:43Z

If I work out or don't people do the same things and everything stays the same anyway. Maybe like 10 minutes of feeling decent followed by the same misery I feel anyway.

The Truthseeker2021-04-06T03:10:13Z

Yes, atrial fibrillation can come and go and stress can bring it on. If it getting worse get a prescription, there are plenty of medication for it. This is not a major issue if kept under control.