Moses received the finger written tablets first but Moses broke them in wrath. Later on Moses went up again to see God(at some months later, the chronology was unclear)and God made Moses write everything down...{(the reason why Moses had to do the work the second time was never made directly clear but given the record of Moses’ temper....God may have wanted to privately discipline Moses.(especially at the second water from the rock incident where Moses in anger struck the rock)(which did produce water) when God wanted Moses to speak to the rock...thus leading to God’s pronouncement that Moses would not be allowed to enter the promised land)}
You need to read this article.