No. Stomach cancer does not cause ulcers. However, the same bacteria that put you at risk for ulcers, Helicobacter pylori, may over time damage the lining of your gastrointestinal system and lead to lymphoma of the stomach.