Roberts was in no way obligated to write the dissent on Obergfell v Hodges but he obviously fought for and won that right....to do what, make himself look like a fool? He could have simply voted against and let Scalia or Thomas carry the heavy water and disappeared into the background thankful for the second decision laying down a smokescreen for his retreat from the national eye. Now he has the Herculean and schizophrenic task of defending these two inconsistent decisions
But you are right, he had no duty to compose a dissent; and the one he did compose exposes him as duplicitous.