How does evolution or natural selection explain smart, average, dumb people differences?

After all, I'm actually very simple minded. I often am very impressed by people even slightly smarter than me. Especially more confident than me. Even if they're just somewhat smarter. I for one, do not get maths, or multitasking. 🧠 Genuinely asking
How does evolution or natural selection explain smart, average, dumb people differences?
Post Opinion