Lorca's theory - which many researchers today would agree with - was that a large part of the function of the lullaby is to help a mother vocalise her worries and concerns.
There are many factors that could threaten the continuation of the lullaby tradition - the array of gadgets to entertain and pacify a crying child, and the increased reliance on technology for communication, for example.