I would tend to lean towards what your lifestyle and diet is like?
A friend of mine was suffering almost continuous headaches and was advised that it could be due to diet.
He went on to a diet of rice and lamb, the only two foods known not to produce allergies. His headaches stopped and then he slowly introduced other foods until he discovered what he was allergic to. He ended up with very few restrictions to his diet and no headaches.