To position himself to become President after Trump.
Who was the last cabinet officer to be elected to the White House? Prior to Bush senior the last sitting vice-president to be elected to the White House? I agree that Cruz still wants to be president. Serving a Trump administration for 8 years is not a path to that.