>>105616451with bright backgrounds your pupils constrict which makes the dark text sharper, easier to process.
with dark backgrounds it's the other way around: your pupils widen to let in more light, which makes bright text appear fuzzier and thus harder and more exhausting for you to read.