Interactions between the molecules of the gas are not required. In fact ideal gases are modeled as if the molecules have zero interaction.
They do however move and interact with the container. That is sufficient to explain the behavior.
Imagine that you have a vessel with two identical halves that are connected by a small portal that can be opened and closed. Put in gas so that one half is pressurized more. Assuming each half has the same volume, and the gas is all at the same temperature, then the only way for it to have more pressure is to have more molecules inside.
Now, open the portal. Even though none of the molecules of this ideal gas push each other, there will be more that reach the portal from the higher pressure side than do from the lower pressure side. Over time, this leads to a bulk flow in the same direction.
In thinking about this more, this explanation says that the mere fact that there are more molecules in one container causes bulk flow into the "low pressure" continainer. But: why is there flow at all?
The idea isn't "there are more molecules" and you're done. The idea is:
- There are more molecules (but all the molecules are the same)
- they have the same temperature (which means the average speed is the same)
- leading to the idea that there are more collisions per area on the high-pressure side
If one side has a thousand molecules and one has a million molecules, the one with more will have a greater chance of striking a specific-sized target over a period of time.
Now instead of a random target, let's pick the valve barrier (still closed at the moment). We count the molecular collisions against that barrier for one second. We'll find that the high-pressure side has more collisions than the low pressure side.
So what happens if we remove the barrier (open the valve)? It means that on average, more molecules will reach the barrier from the high pressure side than reach it from the low pressure side in the same period of time. With no barrier in place, most of these molecules will go through the valve to reach the other side. That difference in rate of molecules reaching the valve is what leads to the bulk flow.