Why was the Greek alphabet invented?

Developed or evolved to more closely represent sounds in Greek.
The Greeks were inspired by the Phoenician writing system and adapted the Phoenician alphabet in order to record property, business transactions, and stories.