The babies develop a sense of 'object permanence' somewhere between four to seven months after birth, which makes them aware of the presence or absence of their parents. But they don't understand the concept of time, and hence they don't realize how long their mother is gone or when she will come back; thus, it can make the babies upset.