You are looking at the ratings of schools that grant degrees to the PhD level. That doesn’t always mean they are great at the undergrad level. Bucknell does not grant Phd’s but its ranked very highly for undergrads.
Many great schools have this in common.