It's not homophobia to call out hypocrisy.
There have been plenty of cases where pols voted for anti-LGBTQ+ laws, and then been abrubtly outed.
In June 2007, Larry Craig, a Republican U.S. Senator from Idaho, was arrested at the Minneapolis–St. Paul International Airport on suspicion of lewd conduct during an undercover police sting in a men’s restroom
.According to the officer’s report, Craig entered a stall adjacent to the undercover officer, tapped his foot several times, moved it so it touched the officer’s foot, and waved his hand under the stall divider — actions the officer interpreted as a coded invitation for sexual activity
Larry gained fame when he blamed the incident on his 'wide stance.'
From Wikipedia.