The pattern you described, alternating between periods of excessive overeating (binge eating) and then severely restricting food intake (starving), is a behavior characteristic of an eating disorder called "binge eating disorder" and "restrictive eating" or "starvation" behaviors.
Binge eating disorder (BED) is a serious mental health condition in which individuals frequently engage in episodes of uncontrollable and excessive eating. These episodes are often accompanied by a sense of lack of control and are followed by feelings of guilt, shame, or distress. People with BED typically eat large quantities of food in a short amount of time, even when they are not physically hungry. It's essential to note that BED can affect people of any body size or weight.
On the other hand, severe restriction or starvation behavior, where an individual goes for extended periods with minimal food intake, can lead to significant physical and psychological health issues. This pattern is sometimes associated with other eating disorders like anorexia nervosa or bulimia nervosa.
It is crucial to recognize that disordered eating patterns can have severe consequences on both physical and mental health. If you or someone you know is struggling with this kind of behavior, it's essential to seek help from a healthcare professional or a mental health specialist with experience in eating disorders. They can provide appropriate support and guidance to establish healthier eating habits and address the underlying emotional factors that may be contributing to this cycle.