In the traditional culture of China, burying the dead is regarded as an important ceremony, and addressing children by their names is considered to be against this tradition. Therefore, when the dead go into the coffin, people generally don't call their children by their names.
In short, this statement has no scientific basis. Believe in scientific and rational thinking, and don't be blindly superstitious.