Why do you hear voices in your head?

It is a function of your audio and nervous system. When a sound produced it causes vibrations in the inner ear, these are translated as voices or other audio phenomena by your brain.