Can stress directly affect digestive health and cause stomach pain?

Can stress directly affect digestive health and cause stomach pain?