Psychological condition can affect bone health