Understanding God's apparent changes of mind