35 weeks cramping

I know this is a common topic or question but when I try to search the threads I get the threads from all the apps including the regular period ones. I know my doctor said she always wants to know about cramping and the advice I see is to make sure you are drinking lots of water to prevent cramping or stop it, so it must be bad... But can someone explain why? Is it a preterm labor warning? Hard on the baby?