A few things come to my mind:
1. Don‘t use a log as a hide. It doesn‘t give the animal a sense of security. Choose a hide that has only one entrance.
2. Use two identical hides.
3. It looks like you put only a little bit of substrate in there. I would go for at least 4cm to 5cm (or 1,5 to 2 inches).
4. Put in some fake plants. They can help to give the snake security.
5. Give the snake a log to climb on.
6. Don‘t handle him until he has eaten 3 meals in a row.
7. The enclosure size is a different matter. Normally I‘d say that the enclosure should at least as long as the snake. With younger snakes that‘s a bit more difficult because they grow so fast. I had my ball python (when he wad just 13 inches long) in a enclosure of 70cm x 50cm x 50cm but that was after I noticed that he prefered lots of space. I wouldn‘t suggest to do the same since it was really weird

Deborah wrote a „Hatchling 101“ that is full a great tips and experience.
I suggest you take a look at it (
https://ball-pythons.net/forums/show...-hatchling-101).
8. Please tell us the temperature and the humidity. I know that you‘ve said they were fine but there‘s a lot of wrong information on ball pythons. We have make sure we rule out all other causes in order to know what you‘re snake has.