Correction, it’s ging, not gin. It’s normal for these two words to have different pronunciations, because Cantonese retains many pronunciations of medieval Chinese, and many words are pronounced differently from Mandarin. After all, the word "jing" seems to have sharp and round points, and its pronunciation has been different since ancient times. If you ask someone who studies phonetics, I only have a superficial understanding of this.