It is caused by differences in the atmospheric pressure. When a difference in atmospheric pressure exists, air moves from the higher to the lower pressure area, resulting in winds that vary in speed. On Earth, air is also deflected by the Coriolis effect, except exactly on the equator.
gas are well separated with no regular arrangement. liquid are close together with no regular arrangement. solid are tightly packed, usually in a regular pattern.