I have no idea why this is the standard recommendation, but I’ve always wondered if it’s to do with onset time from things like Lantus. They can take an hour to get going, and I wonder if night time was felt to be the time when having a potential slight gap (if the previous dose is running out) might be best, rather than, say, the morning when you might have a liver dump going on (Dawn Phenomenon etc).
In my experience the best time may not be the night time at all. I’d had overnight lows off and on for years, some of them pretty nasty, and it was only after joining forums that I learned about basal checks and considered splitting or moving my basal to a different time of day.
Lantus at night for me was not a good time as it turns out. I was *much* better taking it at breakfast time.