Imām Ibn Taimiyyah, may Allāh have mercy on him, said:
It is not upon a believer, nor is it for him, to demand the Messengers [of Allāh] provide an explanation of the good and bad sides [of the commands they issue]; the only thing that’s upon [a believer] is to obey them. Allāh the All-High says:
وَمَا أَرْسَلْنَا مِنْ رَسُولٍ إِلَّا لِيُطَاعَ بِإِذْنِ اللهِ ۚ
And We have never sent any messenger other than to be obeyed [by those to whom he was sent], as Allāh permits. (Al-Nisāʾ, 64)
And He says:
مَنْ يُطِعِ الرَّسُولَ فَقَدْ أَطَاعَ اللهَ ۖ
Whoever obeys the Messenger has indeed obeyed Allāh. (Al-Nisāʾ, 80)
Iqtiḍāʾ Al-Ṣirāṭ Al-Mustaqīm, vol. 2, p. 194.