Stress factor does not directly cause stomach ulcers, but stress can increase the acid produced in the stomach thereby contributing to the formation of ulcers.