So much to learn from this books, movies and an historian.
“In the film, the defense of Minas Tirith collapses because Grond breaches the gate and then mountain trolls push through the defenders. Mordor triumphs by raw physical might smashing aside the defense. But in the books, the defense hinges not on military strength – of this, Gondor has enough – but on courage in despair. Battles and sieges are rarely won because one side kills the entire enemy army – or even most of it. They are usually won because the will of one side to resist is broken.”
https://acoup.blog/2019/05/24/collections-the-siege-of-gondor-part-iii-having-fun-storming-the-city/