Why do they call a parkway a parkway when you drive on it, why do they call a driveway a driveway when you park on it?

Why is lemon juice artificial and dishsoap is made with real lemon juice?

In the English language why are there so many words that sound the same even some spelled the same but mean totally different things like:

Read
Red

Peace
Piece

Effect
Affect

Perl
Pearl

Right
Write

And so on