Gray Tree Frogs dig when the humidity is low, or when they are hibernating. Since the second option is unlikely right now, it sounds to me like the humidity in his terrarium is either (a) not high enough, or (b) it's yo-yoing over the period of a day. You need to fix this problem because it is stressing your frog, however mildly.