Shemot31:18

וַיִּתֵּן אֶל־מֹשֶׁה כְּכַלֹּתוֹ לְדַבֵּר אִתּוֹ בְּהַר סִינַי שְׁנֵי לֻחֹת הָעֵדֻת לֻחֹת אֶבֶן כְּתֻבִים בְּאֶצְבַּע אֱלֹהִים׃

And when He finished speaking with him on Mount Sinai, He gave Moshe the two tablets of the Testimony, tablets of stone, written by the finger of the Almighty.

Shemot 31:18

וַיִּתֵּן אֶל־מֹשֶׁה כְּכַלֹּתוֹ

Shemot / Exodus 31:18

וַיִּתֵּן אֶל־מֹשֶׁה כְּכַלֹּתוֹ לְדַבֵּר אִתּוֹ בְּהַר סִינַי שְׁנֵי לֻחֹת הָעֵדֻת לֻחֹת אֶבֶן כְּתֻבִים בְּאֶצְבַּע אֱלֹהִים׃

And when He finished speaking with him on Mount Sinai, He gave Moshe the two tablets of the Testimony, tablets of stone, written by the finger of the Almighty.

Pshat פְּשָׁט

The Torah as a Gift

Rashi: כְּכַלֹּתוֹ is written without the letter vav (ו), like "his bride" (כַּלָּתוֹ): the Torah was given to Moshe (Moses) as a gift, like a bride to a groom, for it cannot all be learned in forty days. As a bride wears twenty-four ornaments, so a scholar must know the twenty-four books. "To speak with him": God and Moshe repeated the law together. Sforno: the first tablets were to make the whole people kohanim, but Israel fell from its level.

How Rashi and Sforno explain it

Remez רֶמֶז

A Throne in the Word "Tablets"

Ba'al HaTurim: "and He gave" (וַיִּתֵּן אֶל) equals in number the words "this is the Talmud" (זֶה הַתַּלְמוּד). Two tablets, for heaven and earth, groom and bride, two Torahs and two worlds. לחת in the atbash cipher is כסא (throne): the tablets were taken from the Throne of Glory. Rabbeinu Bahya: so the Presence rests on the tablets as on a throne. And the rational soul too has its root at the Throne, and whoever studies Torah returns it to its root.

How Kitzur Ba'al HaTurim and Rabbeinu Bahya explain it

Drash דְּרָשׁ

Learning and Forgetting

Shemot Rabbah: Rabbi Abbahu says that for forty days Moshe (Moses) learned the Torah and forgot, and at the end God gave it to him as a gift. The whole Torah cannot be learned in forty days, God taught him the general rules. The tablets are of stone: whoever does not make his cheeks like stone will not merit the Torah. Midrash Tanchuma: Reish Lakish teaches that a student first repeats after his teacher, and once he has learned, the teacher says: "Let us say it together." So God said to Moshe: "Let us say it together, I and you."

How Shemot Rabbah and Midrash Tanchuma explain it

Sod סוֹד

Every Day Like the First

Me'or Einayim: the Torah is the union of God and Israel, like the union of groom and bride. Constant pleasure is no longer pleasure, so the union must be new every day. Moshe (Moses) forgot until he was given the strength to rise every day to a new level and rejoice in the Torah anew. Sefat Emet: everything follows the end. Forty days of effort exhausted Moshe's soul (כְּלוֹת הַנֶּפֶשׁ), and at the end the Torah came as a gift.

How Me'or Einayim and Sefat Emet explain it