I'll give you a question, please answer with step-by-step reasoning process.
One of the following sentences is nonsensical. Which one is it?\nOptions:\n- Sentence A: "The raccoon ran up the tree to hide from the bear"\n- Sentence B: "The bear ran up the tree to hide from the raccoon"\n

Sentence B
Giant animals such as a bear would have to climb a tree, they cannot run up a tree.

.

Therefore, the answer is Sentence B