Hey Glen,
as far as I know they turn black if they are cold or stressed. Dark colors absorb heat whereas light colors reflect heat. If he can see himself in the reflection of the glass of your terrarium walls he might turn black because he thinks he is seeing another male threatening him. In...