Which best describes why winds at the beach change direction between day and night?

Choices:
(1). because the temperatures over land and over water change;
(2). because warm air over land sinks and stays in place over land;
(3). because cool air rises and is replaced by warm air from the ocean;
(4). because cool air sinks and stays in place over land;
(1).