It said plainly "it was biologically a girl"
Doctors can't physically tell if it's a male or female by just looking at the exterior sometimes if it's hermaphroditic. A boy can look like a boy on the outside but have ovaries. A girl can look like a girl on the outside but have a small penis that is more internal until puberty sets in.