this definitely looks like a calcium deficiency. i would suggest you keep checking with the doctor and go for proper medical treatment.
also, try diverting your child as much as you can, and always be around. never leave him unattended, as it is already quite a matter of concern. and yes, please be patient and do not yell, but try explaining to your child that eating these can call the insects in his tummy, or something like that which may make him stop.
Read more