Concise Quran Commentary
A nation before you had asked about things not initially revealed to them. When they were then commanded to do them, they did not carry out the order; and became disbelievers as a result.
قَدْ سَأَلَهَا قَوْمٌ مِّن قَبْلِكُمْ ثُمَّ أَصْبَحُوا۟ بِهَا كَـٰفِرِينَ
Some people before you asked such questions, then became disbelievers as a result of that[68].
A nation before you had asked about things not initially revealed to them. When they were then commanded to do them, they did not carry out the order; and became disbelievers as a result.