Donald J. Trump has questioned the eligibility of Mr. Cruz, who was born in Canada but whose mother was a United States citizen, to serve as president. John McCain faced similar ones in 2008, but his Senate colleagues came to his defense. Mr. Cruz, who is not widely liked in the Senate, might not receive the same courtesy.