It's an odd marriage of interests, the sort Cruz otherwise opposes as a matter of principle: Peter Thiel is a pot-smoking gay man, which makes him the kind of person Cruz supporters would like to launch into some sort of Martian exile. But Thiel is also, crucially, a massively rich bussinessman, which is enough for Cruz to shelve his Tea Party druthers and accept hundreds of thousands of dollars from the Silicon Valley luminary. Adjacent bigots have yelled at Cruz for pocketing Thiel's cash, but he has every reason to ignore them: last year, Thiel gave $2 million to Club for Growth, a SuperPAC that in turn poured over $600,000 into Cruz's (successful) senatorial run. Club for Growth is still a vocal supporter of Cruz as he's flailed and railed against Obamacare.
Is it lunacy to be the most loyal supporter of a man who thinks you don't deserve equal protection under the law? No crazier than paying kids to drop out of school, cure death, or create a floating libertarian ocean utopia.