“Thog, after spending time gathering and fixing food I am sick and tired of finding it spread all over the place. You’d better figure out a way to keep the critters out, or go back to the ‘man cave’ with your friends.”
Thus, the fence was created. Mystery solved.