The exact cause of mittelschmerz isn't entirely understood, but it is believed to be associated with the processes involved in ovulation. During ovulation, the follicle ruptures to release an egg, and this can cause a small amount of blood or fluid to be released into the abdominal cavity, leading to irritation of the peritoneum, the lining of the abdomen.