Why are "done" issues shown inconsistently in the backlog of nextgen project?

FYI. You can find recent update on this in another thread here - Jira Software Cloud "Get issues for board" REST API does not return the correct issues for boards of next-gen projects - #6 by aagrawal2