Too much exercise near bedtime? Hot baths near bedtime? Both of these can cause a rapid heart rate.