Larger (relative) brains = higher IQ

Why do humans and dolphins evolve large brains relative to the size of their bodies while blue whales and hippos have brains that are relatively puny?