Normally shoulder pain will be in the draw arm, and elbow pain will be in the bow arm. No way of knowing if it is caused by the bow without seeing you shoot. If you had bad form and were not relaxed I could see this happening. However if you had proper form and were relaxed while shooting I can't see it being the bow.
One of the things that effects your elbow is recoil or shock in the bow when you shoot. I don't think it is a big issue with the newer bows since they are pretty shock free. The best fix for this is shooting with a relaxed grip. If you have a death grip on the bow it can transmit the vibration into your arm giving some wrist and elbow problems. If you grip the bow properly and have good follow thru this shouldn't be an issue either.
If you suspect the bow I think you need to have someone watch you shoot that knows something about good form and bow fit. You may be drawing too much weight, too much length or your form is all messed up, like having your bow shoulder too high when you shoot and or too much bend in your elbow, or having your elbow locked.
The only thing I ever hurt while shooting was when I first started I shot waay too much and messed up my back. Working in a factory didn't help any either

.