Those familiar with Trump say his stances aren’t contradictory, but rather illustrate the consistency of his instincts to shape his views depending on the moment.
“I don’t believe Donald Trump has an personal animus toward LGBT individuals,” said Gregory T. Angelo, president of the Log Cabin Republicans, which represents gay conservatives and allies. “This smacks of politics, pure and simple.”
When you have power over people, it doesn't much matter what's in your heart, it matters what you do (mostly) and what you say (some).
Also if you have power over people and you choose to be a bigot, that says all that needs to be said about what's in your heart.