Or possibly: cognitive decline is the reason why a person neglects his teeth and then they decay.
Or maybe: some other factor contributes to bad teeth AND dementia.
The article is trying hard to find that bad teeth cause dementia. There is nothing to support that in the article.