See img.
Given folders 1, 2, 3, and 4,
If I click on folder 2 and drag it into folder 1, then folder 4 is left highlighted, even though I never touched it.
The logic appears to be "the top-most folder that changes position (because its neighbors are no longer in the list) gets highlighted." (at least that's my observation)

XYplorer Beta Club