As an egg develops in the ovary, it is surrounded by follicular fluid. During ovulation, the egg and the fluid, as well as some blood, are released from the ovary. While the exact cause of mittelschmerz is unknown, it is believed that the fluid or blood may irritate the lining of the abdominal cavity, causing pain.