Question:
If someone began the fast while traveling, can he break it during the journey?
Answer:
He can break it, and there is no sin on him for that, but making up the fast is obligatory.
Sayyiduna Abdullah ibn Abbas (may Allah be pleased with him) narrates:
صام رسول الله صلى الله عليه وسلم في السفر عام فتح مكة، ثم أفطر حين بلغ كديدا
The Messenger of Allah ﷺ fasted (while traveling) in the year of the Conquest of Makkah, and when he reached a place called Kadid, he broke the fast.
Reference: (Sahih al-Bukhari: 1944, Sahih Muslim: 1113)