Bitcoin: Why does bitcoin core has to reindex the chainstate directory in some cases?

‘>->