They would rather see Hillary win and keep their power.
If anyone other than Cruz or Trump is the nominee- the GOP is finished. The GOP wants to remain in existence and are trying to unite the party so they are courting Cruz. Cruz is a principled man and will not go along with their uniparty agenda. Looks like they think he is preferable to Trump.