Climate crisis and economic crisis both prevent people from wanting kids.
Anecdotally I know only one couple who avoided having a second child because of climate crisis. They are pretty well off tho, have multiple long distance vacations per year and drive ICE vehicle /shrug.
There has been much higher fertility during much worse times. They don’t really have much explanatory power on their own.