No. It’s because he dragged Trump’s wife into the campaign, and now is howling like a baby when Trump mentions one of Cruz’s women.
Heidi Cruz is Ted’s wife if that is who you mean. Cruz did nothing illegal or immoral in questioning the character of Melania Trump and he also shouldn’t be surprised that Trump fired back. It’s how the game is played.