I used to get heart beat fluctuations when I drank tea. I also got them while my body was adjusting to being in ketosis when I lowered my carbs enough. It went away after a few days.
Stress, whether physical or mental, will change the heart rate, too.
Hope yours is happily steady now!