I expect to find out in due course whether Cruz gave one speech to Trump and then delivered another, as Trump has stated. If so, this can be nothing more than a premeditated attack in support of Hillary.
The Wikileaks DNC emails show Ted may have coordinated with the DNC.