Correct option is D
Soil heat flux tends to be upward during midnight. This occurs because the soil tends to release heat that it absorbed during the day (usually in the afternoon) and the ground cools down, causing heat to move upward toward the surface during the night.