a 14 year old girl been diagnosed with pneumonia and she's being treated for it but the problem is she's constantly having difficult breathing and is using a mask for ventilation all day but at night she can sleep normally. Sometimes she has chest pain. what causes the breathing difficulty and why it's normal during sleep?