No one threw Cruz under the bus. He went willingly.
The Donald gave him just enough rope to hang himself, and Cruz not being that smart, went ahead and did it.