no they dont really need a purpose to do this, its just something they like to do.
do you have a hide on the cool end and warm end?
if not then maybe thats why hes hiding under his substrate, but like i just said they dont need no purpose other than its just normal behaviour for them. my male has 3 hides and he still chooses to sit under his substrate. lol