It’s normal for them to be active at night, especially if it’s been awhile since feeding day. The activity and hunting behavior is healthy. But if he’s just mashing his face into the doorway or lid or wherever the cage opens, it often means that either there’s something in the cage he doesn’t like (such as poop/urates that you haven’t found yet but that he can smell and wants to get away from) or he can’t find conditions he likes (temperature/humidity).
It can also mean that he just needs more space and more places to go. A larger cage with more furnishings like platforms and tubes and stuff can help with that. And it also helps the snake get away from its own waste.
If given the space and opportunity, they will also develop daily habits and different preferred hangouts for day and night.