To reach the country of their preferred destination. Why do you fly over France or any other countries to get to Spain?

The small minority do choose UK as their preferred country of resettlement. And there's been much previous discussion about why that is.
The vast majority choose other countries, for similar reasons.