Undergrads who do research generally aren't very good at research yet. A major reason is they either lack or don't fully understand the pre-reqs, which they progressively and cumulatively learn during undergrad. A student can be incredibly smart, but acquiring a strong rigorous math background will still take years.