Both disorders are hereditary. Osteoporosis and osteoarthritis can be inherited. Diet, exercise, and smoking can contribute to their development.