Belly randomly hard

Je

So I am 18 weeks. Last night I woke up with a pain. I felt my stomach and right in the middle it was slightly raised and hard. I didn’t get a chance to call the doctor today to ask what it was. I was on my back so I rolled on my side and it seemed to help. Everything was back to normal in the morning, squishy belly again. Anyone know what that could have been?