i definitely feel it is some deficiency and that is why your baby is getting attracted towards eating all this.
don't scold but try to distract your baby. also, never leave your baby unattended at any time. get in touch with the doctor immediately to take required steps for treatment.