At the end of the prior ice ages, do you suppose the world went into a global warming panic? What did they blame it on?
No idea about a “panic,” but there certainly is evidence that humans had to migrate and change civilization patterns because of climate change.
What did they blame it on? God’s will. Back then, they didn’t have any scientific evidence of anything else - no climate records, or studies of various changing chemical levels in the atmosphere.