Let see, a new boss comes in that you worry probably doesn’t like you. You go to war with him. Well if you don’t get him, you get fired.
I have seen it happen more than once. Sexual preference was never an issue in such matters.
Think we have the winner here - 'He's anti-gay? He'll be out to get me, I better find some dirt on him before he comes after me...'
Meanwhile, Mr Mayor who is paying off friends and buddies with random appointments suddenly hears from his police chief that the new parks director has a suspended license. And likely asks the normal question: Why would you even know that? And then writes up a reprimand for misuse of police resources which she then refuses to sign until she's consulted with her attorney.
I entirely agree with the writer's viewpoint that this was caused by sexual orientation, her's, but the firing by the mayor wasn't motivated by her sexual orientation. She assumed he was going to come after her, went after him first, and lost.
Hell, his 'anti-gay' stance is likely for stating that marriage is the union of a man and a woman in matrimony.