Don't mean to hijack the thread but ulcers have nothing to do with how hard you study or how stressfull your life is; it is a misconception that really needs to be put to rest.
Most ulcers are caused by h. pylori infection (and sometimes by over-medication in childrens cases).
Your friend most likely ate unshashed fruits/vegetables overseas, or had access to someone who did