I'm sick, can't keep food down, pain in right eye and these are all of my symptoms but why?

See an eye doctor. New onset eye pain always requires evaluation by an ophthalmologist to exclude things like eye inflammation, glaucoma (high pressure in the eye) or infection. Whether the gastroenteritis is directly related to the eye pain is impossible to say without proper examination.