Because he’s being gracious to a defeated foe.
If Trump really believes that Cruz could not be President due to the unconstitutional NBC, gracious or not he should not even be looking to Cruz for VP. Trump is all over the place...with everything! Also, if Cruz is the biggest liar that Trump knows (as he has stated so many times), why would he consider him for VP?