Because he had terrified all creatures he was called Ravana. And the ten-headed demon, capable of having any might at will, struck terror even to the very gods.
रावयामास लोकान् यत् तस्माद्रावण उच्यते। दशग्रीवः कामबलो देवानां भयमादधत्॥