Pulmonary stenosis occurs when the pulmonary valve doesn't open all the way and blood flow to the lungs is blocked.