Or...he simply made it up. Writers sometimes just fill in the blanks. Thats what writers do.
If God couldn’t get what He wanted into Scripture He would be a pretty poor “almighty” Nobody needed to make anything up.