
English Pronunciation and English Spelling are very different. The reason is, of course, historical. The language suffered different dialectal changes before it become one unified form, roughly speaking, of course. At least, the form we mostly see described in dictionaries and books is the so-called standard form of the English language, whether it be American or British, the two major standards.
As I say, the spelling was not so distant from its pronunciation some centuries ago. This convergence towards one unified form originated in the many different dialects spoken in the British Isles 500 years ago. The phenomenon is known as the Great Vowels Shift. You should have a look at that and maybe still wonder why "moon" evolved from /o:/ to /u:/ but "foot" became /U/ as in should... Any idea? Posts are welcome!!!