A. The boy was crying: The passage states, "One day, the boy sat leaning against the trunk of the tree, crying. He was hungry..." So, A matches III. because he was hungry.
B. The young man was anxious: The passage mentions, "One day, he sat under the tree with an anxious look on his face. 'What is the matter'? asked the tree. 'I am going to marry and I want a house to live in.'" So, B matches II. to marry and wanted a house of his own.
C. The sailor was worried and: The passage says, "One day, he sat under the tree with a worried look. 'What is the matter?' asked the tree. 'My Captain is a cruel fellow. I want a ship of my own,' said the sailor." So, C matches I. wanted to own a ship of his own.
D. The stump of the beautiful, kind and the selfless tree: The passage concludes with, "The stump of the unselfish tree burnt in the fire, softy humming a tune." So, D matches IV. burnt in the fire.