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 · Pshat

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."

Pshat פְּשָׁט

An ark for the tablets

You broke something that was entrusted to you. You are given a new one and told at once where to keep it. Why did the second tablets need an ark?

Malbim: the Eternal commands to carve tablets so that the words will be written on them, and to make an ark so that they will be put into it. For the first tablets no ark was commanded, and from this Moshe (Moses) understood that the fragments of the first tablets too must be put into the ark. Chizkuni: in the ark the tablets will no longer be in Moshe's hands, and he will not be able to break them like the first.

How Malbim and Chizkuni explain it

Malbim And I will write

The meaning is: it says "Carve for yourself two tablets of stone and come up to Me on the mountain" so that I will write the words on the tablets. And it says "and make yourself an ark of wood" so that "you shall put them in the ark". When Moshe went up for the first tablets, He did not command him to make an ark. From this Moshe derived that the fragments of the tablets too must be put into the ark, as is explained in tractate Berakhot (8b), and therefore he had to make the ark in advance. This is what the next verse speaks of.

Chizkuni And you shall put them in the ark

And you will no longer carry them in your hands, and they will no longer be at hand for you to break them like the earlier ones.

Takeaway

The next verses tell how Moshe did this: "So I made an ark of acacia wood" and "put the tablets in the ark which I had made" (Devarim / Deuteronomy 10:3, 10:5).
Moshe broke the first tablets when he came down from the mountain and saw the calf and the dancing (Shemot / Exodus 32:19).
The Talmud teaches that the ark held both the whole tablets and the fragments of the first (Berakhot 8b, Bava Batra 14b).