There may be some legitimate science to support the idea that, as a result of a multitude of factors, electronics may produce better sound quality at night.
I agree with the others here that say such a perception is mostly psychological.
Mood, lighting, the fact that you’re probably not having your scotch (and/or whatever) at 2:00 pm (no judging here) etc.