Genetics: If your parents or close relatives have migraines in your family, you are more likely to get them.
Hormonal changes: Hormonal changes that occur in women during menstruation, pregnancy, or after menopause can cause migraines.
Chemical changes in the brain: Changes in the levels of chemicals like serotonin in the brain stimulate the nerves and cause pain.
https://youtu.be/jw-UjfIV4Sw
Triggers for migraines
The following situations can cause sudden headaches in people with migraines:
Diet: Excessive consumption of certain foods (e.g. chocolate, cheese, foods with ajinomoto), alcohol, and caffeine (coffee/tea).
Mental stress: Excessive workload, anger, anxiety, etc.
Sleep deprivation: Irregular sleep or sleeping too much.
https://youtu.be/jw-UjfIV4Sw
Environmental changes: Strong sunlight, excessive light, loud noise, strong odors (perfume, smoke).
Travel: Long-distance travel can trigger migraines in some people.