The Bible tells us: “Jehovah came to be incensed at Solomon, because his heart had inclined away from... the God of Israel, the one appearing to him twice. ”
המקרא מוסר: ” ויתאנף יהוה בשלמה, כי נטה לבבו מעם...