Pediatrics

A newborn infant develops respiratory distress immediately after birth. His abdomen is scaphoid. No breath sounds are heard on the left side of his chest, but they are audible on the right. Immediate intubation is successful with little or no improvement in clinical status. Emergency chest x-ray is shown (A) along with an x-ray 2 hours later (B). Which of the following is the most likely explanation for this infant's condition?