Changes in behaviour among individuals with dementia during the late afternoon and evening, a phenomenon known as "sundowning," is linked to decreased sensory input as daylight fades and cognitive exhaustion resulting from an increased mental workload.