Shemot20:15

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

And all the people saw the voices, and the flames, and the sound of the shofar, and the mountain smoking. And the people saw, and they trembled, and stood far off.

Shemot 20:15

וְכָל־הָעָם רֹאִים אֶת־הַקּוֹלֹת

Shemot / Exodus 20:15 · Remez

Shemot 20:15

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

And all the people saw the voices, and the flames, and the sound of the shofar, and the mountain smoking. And the people saw, and they trembled, and stood far off.

Remez רֶמֶז

Why we sway

Many sway when they study Torah and pray. Ba'al HaTurim finds a hint for this in the word "trembled" and ties it to a verse read in this week's haftarah.

Ba'al HaTurim: "And the people saw, and they trembled": this is why we sway while studying Torah, for the Torah was given in awe, in fear and in trembling. And "trembled" (וַיָּנֻעוּ) stands twice: here and in Yeshayahu (Isaiah), where "the posts of the doorways trembled at the voice of the one who called". There it was through an angel, and here through angels.

How Kitzur Ba'al HaTurim explain it

Kitzur Ba'al HaTurim And the people saw, and they trembled

This is why we sway while studying Torah: because the Torah was given in awe, in fear and in trembling.

Kitzur Ba'al HaTurim Trembled

Twice in the copyists' count: here, and again: "And the posts of the doorways trembled at the voice of the one who called" (Yeshayahu / Isaiah 6:4). As there through an angel, so here through angels, as it is written: "The angels of hosts lead, lead" (Tehillim / Psalms 68:13).

Takeaway

The words "in awe, in fear and in trembling" come from the Talmud (Berakhot 22a): as at Sinai, so always the Torah is studied with awe.
The verse Yeshayahu / Isaiah 6:4 stands in the haftarah of the week of Yitro: Yeshayahu sees the Eternal on the throne, and the seraphim call "Holy, holy, holy".
This is "the copyists' count (מָסוֹרָה)": notes on how many times a word appears in one form.