Answer
The direction of the winds change because during the day, the land is warmer than the water, but during the night, the water is warmer than the land. The direction of the convection current changes.
Work Step by Step
This is discussed on page 306, and explained in Figure 16.8.