That's how we wound up with G's, that are sometimes aspirated, as in "gente," and other times unaspirated, as in "gato."
Έτσι έχουμε το τραχύ «g»,  όπως στη λέξη «gente», και το μαλακό, όπως στην λέξη «gato».