Why am I not getting my period back?

So I used to eat around 800 to 900 calories a day for about a year. As a result, I completely lost my period.

Then I decided to increase my intake because I would often collapse to the ground.

So I increased to about 1300 calories a day and I’ve been on this amount for 6 months. However, I haven’t gotten my period back yet. I’m also 5’4 just for reference.

Do you think it will take longer for it to come back? Or am I doing something wrong?
Why am I not getting my period back?
Post Opinion