Bed wetting

Last night I wet the bed I woke up in the middle of the night a realized but it was very very odd. I haven't done that since I was a child, 3 or 4. That night I was also having stomach cramps and my period is not for another two weeks. Is there any chance this could be a sign of pregnancy ? I googled it but it only talked about frequent need to use the bathroom during pregnancy, please if anyone has any idea, even if it's not pregnancy, what it could be please let me know