concentration and degree of exposure.
There is no question that 100% oxygen can damage surfactant. But, i doubt whether usual nasal o2 of 1-2 li/min will. The less frequent one uses o2 rx, the safer it is for surfactant. However, there maybe other reasons for surfactant deficiency.