Easy—they want their votes. The Left sees NO contradiction in being pro Islam and pro Gay. Most gay lefties don’t either.
A better question is why is Islam at the top of the grievance pyramid? It has to outrank everything else otherwise other victim rights groups would justifiably demand its removal from the protected list. It literally is against the rest of the pyramid.