To help you understand why, here's the definitions of both:
Simile: it's a <span>figure of speech involving the comparison of one thing with another thing of a different kind, it's used to make writing seem more vivid.
Metaphor: this is also a</span><span> figure of speech in which a word or phrase is applied to an object or action to which it is not literally applicable. </span><span> </span>