During sleep, while your body is resting, it is still doing a lot of work. While sleeping, your Blood pressure and heart rate usually slow down, but sometimes, certain conditions can cause the heart to work harder or irregularly. Problems like blocked arteries, high blood pressure, or irregular heart rhythms can increase the risk of a heart attack during sleep