The correct answer is: A. How did you travel?

The other options are incorrect because they do not make sense in the context of the question. Option B, How are you travelling?, is incorrect because the friend has already returned from holiday. Option C, How have you travelled?, is incorrect because it is in the past tense, but the friend has just returned from holiday. Option D, How will you travel?, is incorrect because it is in the future tense, but the friend has already returned from holiday.

The question "How did you travel?" is a common question to ask someone who has just returned from holiday. It is a polite way to show interest in their trip and to learn more about it. The answer to this question can provide information about the mode of transportation the friend used, the route they took, and any interesting experiences they had along the way.