You’re speaking as though DNA, genes, and chromosomes are all the same thing. Are you seriously telling me you can take a strand of DNA and identify is as male or female?
DNA makes up genes and chromosomes. The dna is made of the same chemicals no matter the sex. genes and chromosomes can sometimes be identified as male or female You have to be precise what you are talking about
In your initial post you talked about identical twins one male and one female which cannot happen.