I think it's more historical than anything. If someone has a better explanation I would like to hear it though. For example, words that comes from French have the letter "i" pronounced the french way, other pronounced like a "y"
And the local variations. In NZ the bulk of "e"s in words like pen, ten, etc. are often pronounced as "i"s, like in pin or tin. Took me a while to get used to it.
Some of them, but I don't think this is a rule. I would say more so for uncommon words that are recognizably French, and less so in US English. Historical accident is definitely the main cause.