It’s not in the movie, but in the book Gumb is obsessed with the mother who abandoned him. She was a runner-up for Miss Something-or-Other and may have gone on to be in Corman-esque nudie films. Harris draws a pretty straight line from this fixation to Gumb deciding “well, what if I was a woman”.