When I'm using Merriam-Webster dictionary to confirm the pronunciation and I found out that the syllables divided in the word and its phonetic are different.
For example, elephant, and experience.
Elephant is divided into el-e-phant which the l is the ending sound of the first syllable, but its phonetic is divided as \ ˈe-lə-fənt \ which the l sound goes the second syllable as the beginning sound.
Experience is divided into ex-pe-ri-ence and the letter r is pronounced as a consonant, but its phonetic is divided as \ ik-ˈspir-ē-ən(t)s\ which the r sound goes to the second syllable, and make an r-controlled vowel sound with the letter e.
How would this happen? I'm totally confused. I really need your kind explanation or some useful material for reference.