I have heard that there are several different causes for ambiguous genitalia in both girls and boys. Some of the more common causes that I know of from teaching biology are maternal ingestion of certain medications during pregnancy, lack of production of specific hormones during pregnancy, and a lack of testosterone cellular receptors. I am sure there are other things that can cause this also, but am unaware of what they may be right off the top of my head.Robin