Goose pimples (piloerection) are caused by contraction of arrector pili muscles, which are innervated by the sympathetic nervous system. This is an involuntary response to cold or emotional stimuli. Cranial nerves primarily innervate head and neck structures, while spinal nerves innervate body regions - but the specific autonomic control is sympathetic.