Catholics say that the “deposit of faith” (revelation from God) can not change. Revelation includes Sacred Scripture (the Bible) and Sacred Tradition (teachings handed down through the apostles). So, from a Catholic viewpoint, the Church’s teachings can not change, and this is rooted in the fact that Truth - which is based on God’s existence - is eternal and absolute. To quote William Shakespeare, “
Truth is truth till the end of the reckoning” (Measure for Measure, Act 5, Scene 1). If truth was true for one age, and a lie for another, that isn’t really “Truth”, nor does it reflect the absolute essence of God’s existence.
From a secular point of view though, the Church has changed it’s opinion (implicitly) on issues such as usury (which was previously regarded as any charge of interest). When I have the time, I’m going to research more into this. I’ve looked at Catholic responses to why this “change” occurred, but I’m not satisfied. Catholics claim their Church’s teachings do not change, but that doctrine can still develop. That doesn’t really make sense to me

. For, if doctrine “develops”, that means the knowledge of the topic prior to such development was flawed. And if such knowledge was flawed, how can it be regarded as binding on the faithful?
If what I have read is true, it was actually John Calvin (the Reformer who impacted theology with his view of predestination) that justified “usury” and was well ahead of his time for what is in essence, the bedrock of modern Capitalism as we know it. This probably explains why Max Weber coined the phrase, the “Protestant work ethic”.