For those who are curious enough, this article explains the evolution of the Spanish sibilants and why our languages uses J and Z in a very different way from pretty much any other language:
https://en.wikipedia.org/wiki/Phonological_history_of_Spanis...