It usually means that he sees something that interests him, or
that he feels a little claustrophobic. Bearded dragons also love
climbing up terrarium walls, to get more heat. (And just to have
fun) If he is a male or female, it doesn't matter. It depends on
his health and how big his terrarium is. Hop this helped! :)