Experiencing unwanted sexual thoughts from trauma can lead to having intrusive thoughts, causing concerns about sexual identity. Have you meet a flasher? An exhibitionist?
Most people have had unexpected experiences with meeting these deviants. The hidden forces of the unconscious begin to swirl with traumatic memory and end up creating bizarre images in the unconscious, manifesting as a dreams.