She wasn't punished for her 'inability' to conceive. She was let go for not following church doctrine.
I know a couple who is heartbroken because they cant conceive. Sometimes concessions should be made. The Church has enough black eyes without going looking for more. Im not trying to obstinate, nor argumentaive. I just think this could have been handled better,as two Catholics have bolted..