That's how we wound up with G's, that are sometimes aspirated, as in "gente," and other times unaspirated, as in "gato."
Así nos quedamos con ges que suenan ásperas como en "gente", y a veces suenan suaves como en "gato".