Also banned were the terrible practices sometimes connected with the worship of the idol Molech, causing newborn babies to pass through . . . fire (2Kings 23:10; Jeremiah 32:35). Molech was the god of the Ammonites: His idol-image was in the Valley of Hinnom. Francis Schaeffer describes the ritual: According to one tradition there was an opening at the back of the brazen idol, and after a fire was made within it, each parent had to come and with his own hands place his firstborn child in the white-hot, outstretched arms of Molech. According to this tradition, the parent was not allowed to show emotion, and drums were beaten so that the baby's cries could not be heard as the baby died in the arms of Molech.
I hope you have found this helpful.