(In the Name of Allah, the Most Gracious, the Most Merciful.
The Reason for the Revelation of Surat Ad-Duha
Imam Ahmad recorded from Jundub that he said, "The Prophet became ill, so he did not stand for prayer for a night or two. Then a woman came and said, `O Muhammad! I think that your devil has finally left you.' So Allah revealed,
(By the forenoon. By the night when it darkens. Your Lord has neither forsaken you nor hates you.)" Al-Bukhari, Muslim, At-Tirmidhi, An-Nasa'i, Ibn Abi Hatim and Ibn Jarir, all recorded this Hadith. This Jundub (who narrated it) is Ibn `Abdullah Al-Bajali Al-`Alaqi. In a narration from Al-Aswad bin Qays, he said that he heard Jundub say that Jibril was slow in coming to the Messenger of Allah . So the idolators said, "Muhammad's Lord has abandoned him." So Allah revealed,
فَأَمَّا الْيَتِيمَ فَلَا تَقْهَرْ (Therefore, as for orphan, do not oppress him,...93:9). The word qahr means 'to treat people who are less powerful in an unfair and cruel way'. In the present context, the verse means: 'Since you were a poor orphan, and Allah sheltered you, do not oppress the orphan.' [ In words, 'do not seize their wealth by force and squander it. Do not scorn them, humiliate them or despise them. Rather, you should be kind and gentle to them.'] As a result, the Holy Prophet ﷺ emphasised that the orphan be treated kindly and gently, and has forbidden any hurting attitude towards them. The Holy Prophet ﷺ is reported to have said that the best house of a Muslim is the one in which there is an orphan who is treated kindly, and with love and affection. The worst house is the one in which there is an orphan who is treated badly. [ This is transmitted by Bukhari in Al-Adab-ul- Mufrad, and by Ibn Majah and Baghawi, as quoted by Mazhari ].
Tazkirul Quran
Maulana Wahiduddin KhanOn ayahs 6–10
The Prophet Muhammad was born an orphan. Then God provided him with the best of guardians. He went eagerly in search of the Truth. Then God opened the door of Truth for him. He was apparently without wealth. Then God made him prosperous through his wife, Khadijah. These are historical examples which show how Almighty God helps His subjects.
Uthmani text of the Madinah mushaf (King Fahd Complex). Translation: Saheeh International. Tafsir via Quran.com.