Definitely not based on phonetics/sounds. That is why they are called sight words. They are common words that they need to know how to write/ read sentences, that do not always make the sound the letter makes. I.e. the, friend, saw, etc.

you can use sounds as well to help learn them but they need to become automatic IYKWIM.