Does anyone know the details on how the Catholic church became so opposed to birth control of any kind? I’ve heard the general explanation but would like to know how the Church got there. I have noticed that the Catholic church is very, very rigid on its stance, and that families that are the most faithful to the Church in this regard are often put in terrible moral positions. Faithful women are most hurt by it in particular.

I feel really bad for women who get into bad health situations (mental with PPD or the many physical conditions) because of this who are met with very textbook “NFP or abstain” responses. Sure, there are women who have had good experiences with it, and I myself use NFP because I don’t want to go on hormones/my husband has a very low drive. I can see this being a serious source of heartache in marriages, even if the two parties get all the “mystical rewards” that are supposed to come with the Catholic life. Makes me sad.
So I want to know specifically where it came from.
The Greek word pharmakeia (from pharmakeuō, “administer drugs”) describes practices that sometimes include chemical abortion and it is sinful. The word was used in Galatians 5:20 and Revelation 18:20 and translated into English Idolatry, sorcery, witchcraft.
Clement of Alexandria wrote that it is a sin against nature to spill the seed and also because reproduction is a divine institution.
Below is not the origin but some developments in response to changing practices in the 19th century.
Here is a Holy See answer to a dubium, from 1880, defining natural family planning, with my translation.
"De uso exclusivo temporum agenneseos:
“Qu.:An licita in se sit praxis coniugum, qui, cum ob iustas et graves causas prolem honesto modo evitare malint, ex mutuo consensu et motivo honesto a matrimonio utendo abstinent praeterquam diebus, quibus secundum quorundam recentiorum theoremata ob rationes naturales conceptio haberi non potest?”
“Resp.: Provisum est per Resp. S. Paenitentiariae, 16. Iun. 1880.”
On the exclusive use of the agenesic (sterile) period:
Whether licit in itself is the practice by which for just and grave causes, wishing to avoid offspring in a honorable way, from the matrimonial use abstain, by mutual consent and with honorable motives, except on those days which, according to certain recent theories, that for natural reasons conception is not possible.
Castii Canubii was issued after the Anglican Lambeth Conference which recommended abstinence as the desired form of birth control but allowed for other methods used in light of Christian principles.
In 1930 Pope Pius IX expressed in Casti Canubii:
“54. But no reason, however grave, may be put forward by which anything intrinsically against nature may become conformable to nature and morally good. Since, therefore, the conjugal act is destined primarily by nature for the begetting of children, those who in exercising it deliberately frustrate [rob] its natural power and purpose sin against nature and commit a deed which is shameful and intrinsically vicious.”