They are said to be created when a person's soul (魄 pò) fails to leave the deceased's body.
据说他们是因为人的灵魂（魄）无法离开尸体，才形成的。