Why do TB patients get febrile during night or late afternoon?

Circadian rythyms. Not specific for tb. We all have temperatures that are a bit higher in the evening than they are in the morning. When you are sick, that difference is just magnafied.