A pattern of musculoskeletal injuries spurred researchers to conduct a study on whether using the popular weight-loss and diabetes drugs increased a person’s risk of other health conditions.