The sun does not control wind. Wind is caused primarily by differences in air pressure, which are in turn caused by variations in temperature. The sun does heat the earth's surface unevenly, which can lead to differences in air pressure and thus cause wind. However, the sun does not directly control wind.