Devarim10:2

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

And I will write on the tablets the words that were on the first tablets which you broke, and you shall put them in the ark."

Devarim 10:2

וְאֶכְתֹּב עַל־הַלֻּחֹת אֶת־הַדְּבָרִים

Devarim / Deuteronomy 10:2 · Remez

Devarim 10:2

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

And I will write on the tablets the words that were on the first tablets which you broke, and you shall put them in the ark."

Remez רֶמֶז

All that was on the tablets

A teacher explained a lesson to you, and suddenly you thought of something new yourself. Is it yours, or was it in the lesson from the start? The answer is read in the small words of the verse.

Haamek Davar: the words "these very words" (אֶת־הַדְּבָרִים) include even the new things a seasoned student will one day say: this is the living discussion of the Oral Torah. And it says "which were" on the first tablets, not "which I wrote": the word "Keep" and the other differences of the second telling of the Ten Utterances were not written on the first tablets, but were contained in them.

How Haamek Davar explain it

Haamek Davar The words (אֶת־הַדְּבָרִים)

Known is the interpretation in the portion "Ki Tisa": "words", "the words", "these very words" (דְּבָרִים, הַדְּבָרִים, אֶת־הַדְּבָרִים) — even what a seasoned student will one day say anew. This is the living discussion (פִּלְפּוּל) of the Oral Torah.

Haamek Davar Which were (אֲשֶׁר הָיוּ)

And it does not say "which I wrote". For in truth the word "Keep" (שָׁמוֹר) and other differences were not written on the first tablets, but were contained in them.

Takeaway

In the Ten Utterances of the book of Shemot it says "Remember the Sabbath day" (Shemot / Exodus 20:8), and in the book of Devarim "Keep the Sabbath day" (Devarim / Deuteronomy 5:12). This is the difference Haamek Davar speaks of.
The sages teach that the Eternal showed Moshe (Moses) also what the sages of future generations would say anew (Megillah 19b).