Trump was a Democrat ... until he got political ambitions and decided the easiest way to create an instant base was to attack Obama.
He's probably pro-choice, but he tells the right-to-lifers what they want to hear.
He probably has no problems with GLBT people, but knows that throwing GLBT people under the bus keeps the religious conservatives happy.
Both GLBT issues and abortion are NOT his main concern (the care and maintenance of Trump), but by using them, he knows social conservatives will follow him through the gates of Hell and will blindly denounce anyone who denounces Trump or whom Trump denounces.
Trump is a total opportunist who has no moral center or ideology of any kind.
Flake is a fairly solid conservative.
How many Trump Republicans were fine with Flake, until he denounced Trump and Trump's policies?