Ovulation cramps

Bre • 26 - Married - Early MC June 2017 - Rainbow Baby May 2018🌈💙- Due again March 2020

Do they happen before, during or after the egg is released? Or all of the above?

I get them most cycles but never really thought to look into it!