Basil is sensitive to changes in temperature. At night, the temperature drops which triggers the basil to react and have droopy leaves.
Even in colder seasons, basil leaves will start to droop before showing black spots on their leaves.