I have a ball python that does this too. He is just weird. I would catch him rubbing his face on his wood log maybe once or twice a week— I moved him into a rack and don’t see him all the time now like with a tank, but I’m sure he still does it. I think maybe he likes the sensation or something.