crazy English

Every once in a while, I'm struck by how crazy the spelling rules are for English. The example that brought this to my mind was dealing with the letter "y" when it is at the end of a word. Sometimes, if a word ends with a "y", sometimes when you add a suffix like "ed", the letter is replaced with an "I". For example "Try - Tried." But it doesn't always happen. Like the word "enjoy". put it in the past tense, and its "enjoyed", not "enjoied." Like I said, the rules for spelling in English can be crazy.