It's because the part of the sentence after the comma is talking about what he is doing "while he cries and panics". This is another way to say the sentences. (He cries and panics when his mother leaves his sight. When he cries and panics, he is suspecting she might leave him again.) Does that make sense?