A hunter would protect himself from the bear by using a high powered rifle and a tree stand. The bear would protect itself from the hunter by climbing said tree and killing the hunter.
The correct answer should be they have both literal and figurative meaning
It is always unknown what things might really mean in poems or what they represent. This is why it is ambiguous as you cannot know whether the poet meant it literally or figuratively.
Inside is the correct phrase in this sentence