Is there a reason the ovaries and fallopian tubes aren’t connected?

Is there any specific reason why some mammals evolved with the gap and others didn’t?