Where does it come from? Ancient history. Catholic teaching on conctraception is older than catholicism.
What is new, novel, and extraordinary is the idea that contraception is OK. That idea is only about 100 years old in christian circles.
Notice anything unique about human sexual behavior in the last hundred years compared to before that? Correlation doesn’t prove causation, but it makes for pretty good suspects!