They aren't naturally pedophiles.
The Talmud is not a Holy text divinely inspired.
They rejected and killed the Son because the ruling class was afraid of their role at the top being threatened.
Centuries later, that same class came together without God by their side and began to argue and give their own worldly interpretations of God's word, wherein they decided that pedophilia and sin were permissible under certain circumstances.
That is the Talmud. A bunch of people who rejected God himself for wealth and power trying to say what God really meant.