This is because each egg has a "storage" you need to fill before actually gaining an egg. Right below the bar of the blue magic egg, you can see a 0/10. If you are gaining 5000 per second, you are filling that bar 500 times in one second. Thus, only gaining 500 per second instead of 5000