Is there a relationship between anorexia in children and eating sugar all the time?

It may be related.
Generally speaking, a diet high in sugar will increase the burden of digestion and absorption in the gastrointestinal tract and may cause an imbalance in the ratio of protein, fat, sugar, vitamins and trace elements, which can also cause malnutrition and affect the growth and development of the child, so parents should correct it in time.