Possibly navigation with electric intelligence was enabled so it tried find a Mercedes recommended charging station on the way to destination. It can be turned off in settings if preferred. Else multiple destinations might have been already selected so it was routing between them. Or it was going around a road closure or heavy traffic. Or maybe another reason