Why do ovaries hurt during period?

I know this is normal but why do ovaries hurt during periods??