I'm no expert on my religion...so take what I say with a pinch of salt...
...as I understand it...Islam forbids drawings/portraits/etc. of God and his Prophets as a general principle bcuz it could lead to idolatory of sorts...gradually...
...at first it might just start out with showing respect towards such a painting/drawing/depiction bcuz of what it represents...and then over time evolve into straight up worship.
For example u see in Pakistan(not sure if this happens in India)...of ppl going to shrines and literally asking some dead buzurg(whatever it is their prayer is about)...
...at a higher level this same phenomenon could lead to making prayers to representations of Prophets(like we see in case of ppl doing it at Sufi Shrines).
In case of representations of God...this could evolve into idolatory like that in Hinduism...where ppl pray to idols that represent their gods.
Idolatory and praying to anything or anyone that is not the one true God...is a big no no(clashes with monotheism)...and hence to prevent any step in the wrong direction...it is outright banned. As per Islam...there had been many Prophets before the time of Muhammad(PBUH) sent to many tribes/ppl throughout time...slowly the message got corrupted...
...idolatory(in various forms) is among one of those "corruptions" that occured. I have already mentioned the idolatory in Hinduism...
...there is a form of idolatory in Christianity...where Jesus(PBUH) who is considered a Prophet in Islam...was raised to the level of being son of God(most likely due to ppl's veneration towards him taken to the extremes). It is for this reason that after Muhammad's(PBUH) death...one of his closest friends Abu Bakr(the first Caliph) said this...
"If anyone worships Muhammad, Muhammad is dead. If anyone worships God, God is alive, immortal"
Basically...all of this is to keep the ppl from straying from the path of monotheism...
...hope it made sense...and I would still advise that if u r truly curious about this...ask someone who would be considered an expert in the subject matter.