In Australia's case, the same-sex marriage law was approved by 61% of voters in a national plebiscite, a non-binding referendum (officially it was called a "postal survey") before Parliament enacted it.
Legally, Parliament could repeal it tomorrow and ban same-sex marriage again. Politically, that would be impossible without another plebiscite, and there is no reason to believe a new plebiscite would deliver a different outcome; it would almost certainly return the same result, and likely by a bigger margin.
No conservative politician in Australia wants to talk about this. I'm sure some of them are still personally opposed to same-sex marriage, but they all realise trying to repeal it is hopeless, and so they'd rather talk about things that they have some hope of achieving.