In need of support

I need advice or just help

So basically I was in the bathroom and after using it to go do wudu before it I saw something wet and was unsure where it came from so then I just continued to do wudu and changed my pants but I’m unsure of impurity and if impurity got on my new clothes. It’s so confusing because I don’t know how they got wet. My clothes were dry before I went to the bathroom tho.