Salaam bro Yasir
Prophet Muhammad AS was a normal human being like other Prophets and Messengers. He worked, consumed food, got married had children and got hurt when people attacked him in war or otherwise. Its wrong to asdumed him anything but a great person, Messenger of God and the seal.of Prophethood. As a human like other messengers he made some human mistakes. However like other Prophets and Messengers he was protected when delivering God’s messages.
Say I am no more than a human like you 18:110; 41:6
O you prophet, why do u prohibit what Allah has made lawful for you; just to pleasr your wives? 66:1
He (Muhammad) frowned and turned away when the blind man came to him. 80:1-2
As for the rich man. You gave him your attention 80:5-6
We should also remember that Musa AS had killed a man. And Yunus AS disobeyed Allah SWT and as a punishment the fish swallowed him. 37:142
Also Adam AS disobeyed God in the garden.
All of these examples clearly telling us that messengers and prophets were human being and not devine. Hope this help. InshaAllah. Waslam