Can pain make nausea worse?

I notice everytime my body hurts, my back hurts or my joints hurt, I get more nauseous. Is that related?