Skipped my last two periods? (TRIGGER WARNING:ED)

So I’m 20, and my last period was in June and I haven’t gotten it since. I haven’t been sexually active since May, and had a period in May and June so I’m not pregnant. I have had extra stress with my parents having a messy divorce and my mental health issues but the last month and a half I’ve felt amazing and so much better. The only thing I think could play a factor is that I have an eating disorder. It started July 2020, and I lost a significant amount of weight, going from 175 to 142 in the span of 3 months. I never lost my period though. I went to a residential treatment center for 5 weeks and have been in recovery until June 2022. Through feeling bad about myself, trying to make myself eat, and feeling safe in a relationship, my weight went up to 245. I completely lost my appetite in July due to stress and depression and it kinda sent me headfirst into a relapse and then I started purging again and I’m down to 230 (I have anorexia with a binge purge subtype). I’m still eating everyday but also purging most days. I’m not sure why I could have lost my period so soon? Is there anything else that could cause me to lose my period? I had a weird health scare in June that resulted in major chest pain, severe weakness to the point where I couldn’t stand or walk for more than 5 minutes and lost all strength, a few times where I was completely paralyzed for like 2 hours, and other stuff like that. My period is supposed to come next week so we will see if it comes or if it skips again. I haven’t told anyone about this in my life.