After a car accident, insomnia could be a sign that you sustained an injury to your brain. During a collision, your head can shake violently and jolt back and forth in an unnatural way. In some cases, objects collide with your head or penetrate the skull.