Phagophobia is the obsessive desire to eat an object that causes fear. It can develop in any phase of life, starting from the moment of awareness that there is food around. The term "phagophobia" has nothing to do with the actual psychological problem.
Phagophobia develops as a consequence of extreme stress, and this passes.