Was there trauma prior to this? Could be a lot of things. Once I had a rotator cup problem. Lifting my arm out to my side past a certain point caused horrible pain. Then when I lowered my arm back down, I felt a "pop" . Or it may be a muscle cramping up. If it keeps up more than a week, you may want to have it looked at.