Word of the Day: Thermoregulation – the ability of an organism to keep its body temperature within certain boundaries, even when the surrounding temperature is very different.
Basically the muscles in your face are contracting and relaxing repeatedly (shivering), making your teeth go clicky clack.