Sometimes the rotator cuff gets pinched between the shoulder joint and the overlying bone, causing pain and inflammation.