What causes night sweats when you aren’t in menopause?

What is the cause of it? I’m 30 and feel hot and my back is soaked with sweat after I wake up in the morning. I am not even close to menopause. What is causing this and is this bad for my health? What health concerns cause this?

Updates
2 mo
What besides perimenopause causes this? I’m definitely not in perimenopause!
What causes night sweats when you aren’t in menopause?
Post Opinion