It can be due to muscle pull or ligamentous tear..
Next Steps
Go to a physiotherapist.. Ultrasonic therapy +wax therapy +some strengthening exercises will be helpful for sure.
Health Tips
At home.. Rest +hot water fomentation +pain killer gel +no hanging of arm+no cold exposure +no manual exertions /weight lifting.