In some reptiles, such as crocodile, the sex of the calf is defined according to the temperature at which the egg develops, and some scientists believe that it may be the case for dinosaurs.
About 65 million years ago, when dinosaurs disappeared, a meteorite hit the Earth and geologists believe that a cloud of dust occurred in the Earth's atmosphere. According to some paleontologists, the cold caused the birth of the males. It is believed that the shortage of females caused the disappearance of the species.
However, there is no lack of discussion because it is not known with certainty what defined the sex of the dinosaurs. In addition, many other species disappeared then and the new theory does not serve to explain these cases.