THAT is the real question.
Nothing is hard for God.
How He could do it was revealed in Jesus Christ.
Who (Christ), though He eternally existed in the essence of God,
He did not think equalities (plural) with God
a gain to be seized (means to violently take})
and held (so that the Father's plan would not be neutralized).
Rather, he made himself nothing
by taking the very nature of a servant,
being made in human likeness.
And being found in appearance as a man,
he humbled himself
by becoming obedient to death—
Even death on a cross! Philippians 2:6-8
Jesus in His earthly state became without the omniscience he had known as the Lord God of Israel before his coming down from Heaven.
In that state that the Son willed to be, God put forth His Son, and had Jesus in that state, create everything he wanted to be created. All without having to know how we would choose.
More to be known.....