I know that in days gone by, there was a lack of sensitivity in that (and many a-nother), particular area.
Now, if a mother loses a baby that is a recognisable baby as in this case, she and father are allowed to see the baby, hold him/her and have him alongside for a while. In the past they were just taken away, end of. Grieving was very difficult.
In this case, of course, the baby was still alive, even more appropriate for the mother to spend time with him before he died, poor little scrap.
A&E is a very busy place at times, I daresay most of the attention was on the mother; the baby wouldn't have deliberately been put aside had they thought it was alive.