As I said, I know you would never desire to make that point and would reject the notion that you had made it. Nevertheless you did. That's okay though. If you're willing to accept the point that there is nothing but the physical, organic elements I'll try to clarify the distinction I made.
All thoughts are electrical activity but not all electrical activity are thoughts. The two are not synonymous terms. Thoughts can be explained as electrical activity but electrical activity cannot be explained as thoughts. In the end thoughts are just one product of electrical activity, and that physical electrical activity has no meaning in and of itself. It is simple a bio-chemical process. Nothing more. Thoughts are an illusion of a reality which does not exist. There is no magic being. No swoosh. Just electrical activity resulting in what we call thoughts but which can only explained as the firing of electrical impulses, the reasons behind being purely physics and chemistry and having no meaning in and of themselves - meaningless.
First I'll deal with the problem or moral responsibility. It is not possible to argue that I would be responsible for the suffering of that child without also stating that all parents in the world, ever, as just as responsible for bringing children their into a world where pain is inevitable. Looking further, in this scenario, I did not cause the pain. The pain came about because of some biological problem. Additionally, and more specifically, the type of pain felt described here is physical and it is pain due to an ailment. That being the case are you willing to state that all parents who bring children into the world with an ailment are "sick and wrong"? In this scenario I have not caused pain, I have honoured a societal value to try to maintain and promote life in a world where pain is not necessarily the be-all-and-end-all but which has, many times, been overcome and lead to great achievement and beauty. These aren't easy scenarios and they must not be taken lightly, but they are real scenarios in a real world where we do the best we can.You haven't eased the pain of the child, you've caused it. Sick and wrong. You show a total lack of humanity. Your obsessive religion is starting to make sense. You use it as a crutch, a way of believing yourself to be a better person than you are.
Bringing it down to reality - would you have killed Helen Keller if you knew she would be born blind and deaf? How about Stephen Hawking knowing he would be confined to a wheel-chair not even able to speak properly? You make it seem like pain is everything and must be avoided at all costs. It is not. Pain is unpleasant, but it is a part of this world. To try to avoid it is foolishness. To start taking lives in order to keep people from it is, by our own society's definition, wrong. Where does it stop - emotional pain, mental anguish? These are often far more crippling than physical pain, and yet they are certain for every single one of us to varying degrees. No. We live in a society where we face pain every day and have learned that the best thing is to try to overcome it and to value life - which has such an incredible capacity to spring back from very little and overcome the greatest hurdles and achieve many great things. That is why we value life. It is an arrogant position that speaks for another and says I will take your life from you because I am sparing you pain. What other lives would you be willing to take by your own decision in the name freedom from pain? Because we are human beings who have decided to give each other basic rights we have a right to choose and to be supported, valued, and helped in and through that choice. The unborn have that right too. That's the point we're talking about. That all human organisms have been given basic rights. The minute we make an exception to that we devalue life.
Now, I know the one point you're going to bring up in all of this is length of life. That the baby will only live for minutes or hours without the chance to make any choices of its own, and without any understanding as to the pain it's feeling. That is a sad and tragic circumstance, and as I briefly mentioned, not one with I am unfamiliar. You take me to be without compassion, as though I'm overjoyed at the prospect of standing on my principles and watching as a new born child squirms in pain and moves into and out of the world in only a short time. You're wrong. I am a man who values both life and compassion. I value life enough to know that we all live for different lengths of time and accomplish varying amounts in our life time having faced various challenges and trials. Someone else said that part of the beauty of human life is the ability of humans to bounce back, the ability to overcome obstacles and trials. They are right. That is part of the beauty of humanity. If life has no intrinsic meaning then would you not say we give it meaning? Can we not say that life in its existence is meaningful? That what we accomplish in life, be it much or little, does not ultimately matter. Rather, it is the difference we make in the lives of others. A small child with only hours to live might not seem like it means much, but it does. It is a life. Just as vulnerable as you and I once were only with less of a biological footing. Nevertheless he or she has as much meaning as you and I and what is more we give him or her meaning by appreciating and valuing him or her as a life, with equal value and equal meaning. Even more, that small child gives meaning to our lives, and makes an indelible impression in our lives and hearts and minds forever, as something we treasure, and even hold with us as we fight and build and live through life. That is the value of those little lives and why we should treasure and honour them as lives and people in their own right with their own rights. They are the same as us in essence and meaning. Pain cannot be avoided, not for any of us, but all of us should help one another through pain at whatever stage we face it. In the case of a little one, I still do not see the problem with using our medical capabilities to deliver palliative care to small, dying human being. We honour the child by valuing his or her life and giving them all the chances possible (and incredible things have happened), we care for them by trying to remove and ease as much pain as possible.
The meaning in life is not in how long we live or how much we achieve but in how we treat and care for other human beings. It gives us meaning. Philosophically speaking, the dark alternative to this is to say that life is meaningless and so, therefore is pain. That neither pleasure nor pain, achievement nor failure, joy nor suffering are important. If we do not value life, then what does it matter if someone lives or dies, suffers or prospers? Pain is unpleasant and even hateful at times, but it is not the end of the story, valuing life is.