Cruz was splitting supporter of Amnesty to stop the Gang of 8 amnesty first bill.
Cruz’s narrative was that he was deceiving (lying) to the rest of the Senate by suggesting support for the bill so his poison pill amendment(s) would be included and kill the bill.