It wasn't a later minute change of hearth, it was basically a dramatic way to drive home the message DO NOT SACRIFICE humans!
It's got the "hook" "Abraham is going to sacrifice", to get everyone's attention. And then the powerful message "don't do that".
I've always like the interpretations of Genesis (and other old ME epics) as folk memory. Myth as a way of telling history allegorically.
For example, people named in genesis often represent tribes, ethnicities and nationalities. Their names were literal personifications of contemporary peoples. The binding of Isaac represents a transition from human sacrifice to animal sacrifice, as a symbolic substitute continuing the same tradition.
I've even heard interpretations of the fall from eden where eden represents a hunter gatherer lifestyle in the fertile crescent, and the fall represents settled, agricultural life.
That is quite literally a story about a custom of child sacrifice, with a later minute change of heart.