From the booklet of Rabbi David Shalom Naki, shlit"a: when the kings heard the first dibrot they thought Elokim was demanding His own honor. When they heard “Honor your father and your mother,” they saw it was for Yisrael’s good, and they rose and gave thanks, as Kiddushin 31a records.