Conditions such as fever and dehydration can cause palpitations. Dehydration due to prolonged vomiting or diarrhoea can cause abnormal levels of electrolytes in the body that can cause palpitations.