If he is going into shed, he could be a bit grumpy. Just so you know, ball pythons don't soak normally so don't expect him to do so while shedding.
Him being in his hides 24/7 is probably a good sign. When they are hiding it means they feel safe in their surroundings. Usually they are only active at night if they are hungry (right around feeding day).