[1] Here the horrors of the Resurrection and its great events are described. Setting the mountains in motion means the mountains will move from their places and fly about like carded wool.
وَتَكُونُ الْجِبَالُ كَالْعِهْنِ الْمَنْفُوشِ
“And the mountains will be like carded, coloured wool.”
(Surah Al-Qāriʿah 101:5) See also Surah Aṭ-Ṭūr 52:9–10, An-Naml 27:88 and Ṭā Hā 20:105–107.
When even these mighty mountains are wiped off the earth, how could houses, trees and such things remain in existence? That is why it is then said: “You will see the earth laid bare.”
[2] That is, We will gather all of them—the first and the last, the small and the great, the disbeliever and the believer. No one will remain lying beneath the earth, and no one will be able to come out of the grave and hide anywhere.