You said it all - GOPe and ego (plus vendetta) are what’s driving Cruz now - he’s a cat’s-paw husk of what he started as.
“Vendetta” is a very good word for it at this point. Cruz knows he can’t win the presidency, so in revenge he wants to make sure that Trump can’t win, either.