Hypercorticism may also be a causal factor, as osteoporosis may be seen as a feature of Cushing's syndrome.
Excess cortisol production could be a contributing factor, and osteoporosis is a feature of Cushing's syndrome.