He's orientating his poison glands so that the "attacker" is more likely to touch them. Simple as that. This is well documented toad behaviour.