I have a bp that has almost the same markings. She was in an terrestrial cage with a foam backing. She had climbed back there twice. Nudging her head between the plastic and the backing. I’m certain that’s we’re her scrape marks came from. She had outgrown her cool side hide and I didn’t realize it. I replaced her hide with a bigger one and removed the backing. Your snake may be trying to push through your lid if it’s a tub with latches. Also if you are concerned with sharp plastic hides. You can always take a lighter and smooth the rough edges.