It simply states:
> "And as in uffish thought he stood,
> The Jabberwock, with eyes of flame,
> Came whiffling through the tulgey wood,
> And burbled as it came!"
We can infer that the boy's "uffish thought" might be a sense of adventure, curiosity, or even a feeling of being called to the woods. The poem focuses more on the encounter with the Jabberwock and the boy's bravery in slaying it than on the initial motivation for entering the wood.