Doctor Grant, in the source novel surmises that some of the dinosaurs have turned male, then impregnated the remaining females. At no point does he seem to change his opinion;
“It's not frog DNA,” Grant said. “It's amphibian DNA. But the
phenomenon happens to be particularly well documented in frogs.
Especially West African frogs, if I remember.”
“What phenomenon is that?”
“Gender transition,” Grant said. “Actually, it's just plain changing sex.” Grant explained that a number of plants and animals
were known to have the ability to change their sex during
life-orchids, some fish and shrimp, and now frogs. Frogs that had been
observed to lay eggs were able to change, over a period of months,
into complete males. They first adopted the fighting stance of males,
they developed the mating whistle of males, they stimulated the
hormones and grew the gonads of males, and eventually they
successfully mated with females.
“You're kidding,” Gennaro said. “And what makes it happen?”
“Apparently the change is stimulated by an environment in which all the animals are of the same sex. In that situation, some of the
amphibians will spontaneously begin to change sex from female to
male.”
“And you think that's what happened to the dinosaurs?”
“Until we have a better explanation, yes,” Grant said. “I think that's what happened. Now, shall we find this nest?”