When the verses "And do not approach the property of the orphan except in the best manner" [Anam 6:152] and "Indeed those who consume the property of orphans unjustly" [Nisa 4:10] were revealed, people began to keep away from an orphan's property and from eating with him. This became difficult for the Muslims, so they brought their complaint to the Prophet ﷺ, and Allah revealed, "They ask you about orphans. Say, setting their affairs right is better," up to His words, "He would have burdened you" [Baqarah 2:220].
أخبرنا أحمد بن عثمان بن حكيم قال حدثنا محمد بن الصلت قال حدثنا أبو كدينة عن عطاء وهو ابن السائب عن سعيد بن جبير
لما نزلت هذه الآية {ولا تقربوا مال اليتيم إلا بالتي هي أحسن} و {إن الذين يأكلون أموال اليتامى ظلما} قال اجتنب الناس مال اليتيم وطعامه فشق ذلك على المسلمين فشكوا ذلك إلى النبي ﷺ فأنزل الله {ويسألونك عن اليتامى قل إصلاح لهم خير} إلى قوله {لأعنتكم}
[Its chain is daif] Abu Dawud narrated it in the Book of Wills, chapter on mixing with the orphan in food, hadith 2871, from the narration of Attar, and he had become confused, and it is in Kubra, hadith 6496, and Hakim graded it sahih (2/278-279), and Dhahabi agreed with him. The hadith has daif corroborating narrations in Tabarani's Tafsir (2/371-372) and elsewhere, and the hadith of Tabarani in Mujam al-Kabir (4/14, hadith 3502) suffices in its place, and its chain is hasan.