Dreams are mysterious things. But one thing for sure is that dreams can be, and often are, very improbable and often make little sense at all. You could say, weird dreams are normal

Trans-related dreams are pretty common for trans-folk, naturally. I had a few months where I was constantly having packer/bathroom dreams. Some were nice and some were... less than ideal haha
One theory is that our brains process information and we see that process through dreams at times. Our brain isn't necessarily concerned about putting memories into places in an order that makes sense. Stripping down the dreams you've had, you dreamt about being trans, exes, high school friends, and a blue skirt. Not so bizarre when you look at the bare bones of it. Even the blue skirt - you're a trans person who has likely been pressured at some point to wear feminine clothing. That could be all it is.
Stress, physical (like a cold) or emotional, can impact our dreams. What we eat before bed can also have effects on our dreams. Lots of stuff can affect how we dream, really.
It's also not uncommon to start dreaming about things you haven't even thought of in a while. Maybe it's just our brain maintaining those memories? Dunno.
Hope this helps a bit!