What happens during pregnancy that might cause pyloric stenosis?

Nothing. Pyloric stenosis is not known to be associated with any problems during pregnancy.
Nothing Known. The specific causes of pyloric stenosis are unknown-so no guilt here.
Unknown. Although the treatment of pyloric stenosis has been known since 1904, the exact etiology remains obscure.