Perhaps God was very disappointed in Abraham.
Perhaps God, upon witnessing that Abraham was about to plunge the knife into his son's heart, God actually thought something like "Have you no moral conscience?! Do you just do every stupid thing ordered to you?!"
Perhaps the instruction to kill his son was not God testing Abraham's obedience, but his moral conscience and discernment of right and wrong.