Are there hide boxes in the cage? If not, add a couple and that will help to reduce stress. Sounds like the snake doesn't feel secure and is striking in defense.