The KIT vowel, /ɪ/, which we find in the word sit, and the FLEECE vowel, /i/, which we find in seat have different pronunciations in Southern Standard British English and General American. In Gen Am they are said with the jaw slightly more open than in British English. So a Gen Am /ɪ/ may sound more /e/-like to someone used to British English.
In the Western United states, the KIT vowel changes when it occurs before velar consonants /k, g/ or /ŋ/. We say that this new sound is an allophone of the KIT vowel for these speakers. When people who speak this variety of English have a KIT vowel before a velar consonant it becomes much more like a FLEECE vowel. It is longer and more close.
Because of this when these speakers say, for example the word sing, it will sound a lot like the word seeing to somebody who does not have the same accent. These speakers also have a different vowel in words like bag. Here again we have a velar consonant, /g/. These speakers will use a vowel that sounds like /eɪ/ to other listeners. For people listening, the word bag may seem to rhyme with the word plague.
These different possibilities for the vowels which occur in words like king and kin could be why the Original Poster finds these types of word confusing.
This article here talks about Western US vowels before velar consonants
Best Answer
"Ph" is most commonly used in words that come from Greek, like "philosophy". The Greek letter that makes the "F" sound is "phi", written like φ.
As for "Gh", most of the words containing it come from German and old English. It was pronounced then as "ch" is in German today - as a rasp in the back of the throat, like the "ch" in "Loch Ness". Nobody really knows why, but around the same time that vowels shifted and English spelling was regularized, the "gh" sound was removed from English entirely. In some cases, it was just made silent (knight, sigh), and in some others it changed into a lot of different sounds. Now it's just one of the exceptions learners - both foreign and native - have to live with.
[source]