When closing an editor/tab in VSCode, it navigates back to the previous editor/tab you were in. Compare to Firefox or Chrome, which simply go to the next tab to the right.