DP, Could be many things, impingement, rotator cuff, tendonitus, frozen shoulder, etc.
Even coaches will defer to medical diagnosis first and foremost. GO SEE A DOCTOR and get it checked out!!!!!!
THEN AFTER seeing the Doctor and finding out what is really wrong with your shoulder and you are cleared to shoot again, first, find a local instructor/coach if possible. Second, post a video so we can see you shoot. Include your bow draw weight information and draw length too.
Best advice I can give you at this time!
Arne