A child dying after drinking goat's milk before it was boiled
If the reality is as you mentioned, you do not need to make
kaffarah because you did not fall short in taking care of your baby, but this is Allah's Decree. All praise be to Allah!May Allah grant us success. May peace and blessings be upon our Prophet Muhammad, his family, and Companions.