Do newborns always have pneumonia when they spit up bubbles?

If a newborn baby spits up bubbles symptoms are not necessarily caused by pneumonia, because after suffering from pneumonia there will be a significant increase in the number of breaths, there will also be a cough, fever, in this case due to the lack of oxygen there will be shortness of breath, which led to the symptoms of vomiting bubbles, this is due to the vomiting of bubbles caused by pneumonia, which is also caused by a newborn baby spits up the bubbles of the most common reasons. But if you have gastroesophageal reflux can also cause the symptoms of vomiting bubbles, because the newborn after eating milk gastroesophageal reflux will slowly occur, in this case the stomach milk or other stomach contents will slowly through the esophagus reflux to the oropharynx, which will also appear vomiting bubbles, and serious can also lead to newborns have cough and body weakness and so on.