When they traveled during the daytime, Yahweh went in front of them in a tall white cloud to show them the way. During the night, he went in front of them in a tall cloud that looked like a fire. By doing that, he enabled them to travel in the daytime and also at nighttime.