Asking from an evolutionary viewpoint.
Sex is a pleasure giving activity so that it encourages reproduction and spreading of genes. But childbirth ,the most crucial part of the reproductive process, is equally opposite and many times hazardous to the health or even fatal to the mother.
why is that so? Not enough selection pressure (low death rate than succesful delivery rate)?