Dark mode is a matter of demand, not if it's good for you. The real questions scientists should be asking why people want it in the first place. Other than that, I agree with your sentiment.
People wanted dark modes of websites since the dawn of the web itself. It's just that it was too inconvenient for companies to maintain at least two designs at the same time so they happily turned a blind eye to the requests.