Studies have linked migraines to depression in children. Headaches can be a physical manifestation of tension.