The past perfect continuous tense ("had been travelling") is used to show that an action started in the past and continued up until another time in the past, emphasizing the duration of the activity that caused the visible result. Option A is grammatically possible but less natural than B for emphasizing the continuous nature of the journey, and C is grammatically incorrect.