My friend talks about how she's wanting to throw up and she can't eat because she's afraid she'll throw up. She's only drinking water at the time.

Digestive issue vs. eating disorder. Please encourage your friend to see her doctor. If she has a digestive issue it needs to be identified. Same if she has an eating disorder. In either case, your friend will get much sicker if this is not treated. Peace and good health.