Also, some med side effects can cause stomache pain. A lot of these meds can cause constipation which in turn can cause stomache pain. I have first hand experience with this. I have to take stuff for relief periodically. Hope this helps.
Physical symptoms like stomach ache can be associated with stress. Is there something going on in your life causing a lot of stress?