I think Grendel get stuck in a tree because of his careless curiosity of the world above him, that of the humans. He know nothing about that world because he was used to his own world in the underground however he still get tempted to explore. He was also attacked by a bull there because he looks different from the rest of the creatures above.