How does stress affect the body and lead to physical symptoms like pain?

How does stress affect the body and lead to physical symptoms like pain?