This is because in English it's not always that you speak what you write. Pronunciation is different for the same letter in different cases. In some languages (mainly Indian) like Hindi, we speak what we write and we write what we speak i.e. Our letters have a definite and unique sounds.