Although night sweats are a symptom of some types of cancer, they can also happen for other reasons, such as: 1  changes in hormone levels during perimenopause and menopause. 2  increases in hormones and blood flow during pregnancy. 3  some bacterial infections, such as tuberculosis and endocarditis.