What do babies dream of that makes them cry while asleep?

Unknown. Since there is no way to research this area (babies don't converse or describe events) there is no way to know. Age regression hypnosis has been able to tap that information as far back as 2 yo, when kids worry more about abandonment or getting lost than anything. Younger kids ? No one knows.