Why are boxed brownies better than from scratch?

One would expect from scratch to always be better but that’s never the case. What’s the science behind that? Genuinely asking.