I think the issue is a lot more subtle than simply "dark mode = better" vs "light mode = better". When it's dark around me, I don't want a bright white screen blinding me, so I prefer dark mode. But when I'm in a well-light room with a white wall behind my screen, I don't want to have to peer at a dark rectangle. Also, whether you're using dark or light mode, contrast and brightness need to be set right, and I think…
Many dark mode themes also aren't great. With bright mode you can get away with #000 on #fff but, at very least for me, just reversing that doesn't work all that well, I prefer at the very least background to be in #111-#222 range and maybe text not be in #fff but a bit lower. On other side some dark themes have pretty terrible contrast, but that happens with white too, like HN just deciding light gray on light gray…
Before the dark mode fad took off, people used to just do UI design and make interfaces that were just that - interfaces. They weren't attempting to be obsessively light or dark, so we got a wide variety of things in app UIs and the UIs didn't shy away from borderlines, shadows, color, darker elements in an otherwise not very dark UI, etc.
Then dark mode happened, and everyone wanted to design dark mode things. Dark mode makes small contrasts more legible (IME) and makes colors really, really pop. So you can easily design very flat UIs without anything in the way of borders, and small bits of color are really dramatic and eye catching.
Not-dark colorscapes feel really different - small contrast differences aren't as salient, you can use dark elements in the UI without disrupting it much. Borderlines and drop shadows look great, really high contrast for text just feels nice. Color is a much more balanced part of the whole, so you can use it much more liberally and it'll just feel nice and balanced.
But those are not the UIs we get today. Humans love to categorize things, and they like pairs of opposites a lot. If we have a specific dark theme, well, what do we call the other one? Light theme, of course. And in a disastrous display of nominative determinism, that's exactly what we've gotten afterwards: Designers have intentionally started making UIs that are actively light, and those are not designed specifically - most are just slapping white paint on the existing flat dark theme, or otherwise obey those same design sensibilities with light grays on white and minimal use of color.
Why would anyone want to use light themes if they constantly get designed wrong? The proper contrast people should be working with isn't light and dark theme or white and black theme, but colorful and intentionally dark.