Ligaments hold bones together. Some people have ligaments that are looser than other people, allowing for more movement in joints.
This is when people are described as "loose-jointed" or "double-jointed". Other times, an injury may have damaged the shoulder joint, and the structures that hold it in place may need to be repaired. Best to have it checked out.