Yes indeed it is, I actually didn’t know that tho
There are many answers to your question but one way is the evaporation cycle.
With this x and y pair they are male
Lethal alleles (also referred to as lethal genes or lethal) are alleles that cause the death of the organism that carry them. They are usually a result of mutations in genes that are essential to growth or development. Lethal alleles may be recessive, dominant, or conditional depending on the gene or genes involved. Lethal alleles can cause death of an organism prenatally or any time after birth, though they commonly manifest early in develop