It seems to convenient to me that Kain would just traitor against his friends so simply without some sort of mental struggle. Golbez merely says "Come back to me Kain" and Kain obliges without a second thought. Either bad planning on Square's part, or Kain was just toying with Cecil all along and was still under Golbez's influence.