I believe it's caused when the snake is attempting to escape. Some of my snakes have similar marks, it's caused by them squeezing their heads through the lip of their tubs attempting to get out.
You got pics??? The scientist(geek) in BG has him interested in this.