If you have a heater under the tank, maybe the snake is cold and burrowing down to the heat source.
If you have only top heat, maybe the snake is hot and burrowing to get away from the heat.
I always check temperatures first, when I notice behavioral changes in a snake.