Allah has provided me with an adequate amount of food, yet I always reject it because of my mental condition of anorexia where I have a fear of gaining weight. Am I sinning?
There is no religious or ethical responsibility for things we cannot control. So, if you cannot control your actions, there is no sin.
However, if you refuse to eat and it harms you or leads to death, and if you can control this and have a free choice, then it is a sin, because it is a sin to harm yourself.
Whether or not you can control this is something you can decide; there is no benefit in being guilty over something which you cannot control, because it will probably just make things worse and add anxiety.
Inshallah I hope you will find a solution that will help you to be free from this problem.