Why do Rangers get limited spells known and Pa…

Why do Rangers get limited spells known and Paladins get to prepare proportionally more spells?

Why do Rangers get limited spells known and Paladins get to prepare proportionally more spells per day?