Question for you lovely ladies

Rebecca
Im 27w1d and i went to the restroom and my clean panties were damp. ( first time going to restroom after shower ) i had to check to make sure it was pee it was but i didnt really have the urge to go but i knew my bladder needed to be empty. What could have caused me to leak like that i didn't sneeze but i possibly coughed?