Which of the following is an example of a metaphor?

A. I am freezing!

B. the girl’s eyes were deep blue oceans.

C. the bread was as hard as a rock.

D. The sound of nuts cracking above him caused him to look up at the squirrel in the tree.