The older you are, the more likely you are to be on medication aimed at controlling/reducing acid production in the stomach.
There are some issues with the long-term use of these medications, but until now, low Vit B12 levels were not considered one of them. See this article.
Another study has highlighted how low Vit B12 levels increase the risk of fractures – especially spinal – in the elderly.
Worth bearing in mind.