In TCM sometimes disharmony between the heart yang qi (excess) and kidney yin deficiency (disharmony between fire and water) can cause palpitations, insomnia, menopausal symptoms or dream disturbed sleep. I do not know if this is the case in this situation. Sometimes sleep position can trigger this as well.