Another question, but what is your setup like? How is the humidity? You mentioned that your snake seems dehydrated, with a ball python you want upper 55ish% humidity. Higher when in shed, up to 70%. If the humidity is low and the snake is dehydrating, that could certainly add to the defensive behavior.