|Hanumantha on account of Rama, visits Ravana to have peace talks after Indrajit is lost in the battle.
Ravana never gives any respect to Hanumantha nor he offers him to sit and talk the terms of the fight.
So Hanumantha in order to exhibit his equalness to Ravana, coils his big tail and sits few steps above Ravana.
This makes Ravana very angry and forgetting how to behave with a messenger, he orders his men to light Hanumantha's tail with fire.
Hanumantha later burns the entire city of Lanka before cooling his tail in the sea water.