Surah Yunus 10:2
أَكَانَ لِلنَّاسِ عَجَبًا أَنْ أَوْحَيْنَآ إِلَىٰ رَجُلٍ مِّنْهُمْ أَنْ أَنذِرِ ٱلنَّاسَ وَبَشِّرِ ٱلَّذِينَ ءَامَنُوٓا۟ أَنَّ لَهُمْ قَدَمَ صِدْقٍ عِندَ رَبِّهِمْ ۗ قَالَ ٱلْكَـٰفِرُونَ إِنَّ هَـٰذَا لَسَـٰحِرٌ مُّبِينٌ
Have the people been amazed that We revealed [revelation] to a man from among them, [saying], "Warn mankind and give good tidings to those who believe that they will have a [firm] precedence of honor with their Lord"? [But] the disbelievers say, "Indeed, this is an obvious magician."
Translation: Saheeh International
Tafsir
Is it for the people the people of Mecca this interrogative is meant as a disavowal; the preposition li- ‘for’ and its dependent genitive noun al-nās ‘the people’ constitute a circumstantial qualifier of His saying a wonder ‘ajaban read in the accusative as a predicate of kāna; …
Excerpt from Tafsir al-Jalalayn, commentary on 10:2, via Quran.com. The reader has the full commentary and 9 more tafsirs.