The polysemy of lamb allows the two interpretations. We make sense of the riddle Why are trees often mistaken for dogs? by recognizing the homonymy in the answer: Because of their bark. And if you are asked the following question: Why is 6 afraid of 7?, you can understand why the answer is funny (Because 789) by identifying the homophones.