In utero the lungs are not expanded and therefore the blood flow is impeded too.
So the pressure in these vessels are high. When baby is born since the lung inflates the pressure in these vessel now slowly decrease dramatically. Pph is when the pressure in the vessels does not decrease and thereby difficult to deliver oxygen
to the baby. It can resolve with medicines and sometimes without but usua.