They were put into writing, evidently by Moses, who may have made use of oral accounts or perhaps even preexisting documents.
Kisah itu ditulis oleh Musa, yang bisa jadi memanfaatkan sumber lisan atau barangkali bahkan dokumen yang pernah ada.