Even if it is the Judicial branch and one could say Obama, the executive branch, had nothing to do with the same-sex marriage ruling in 2015, still, it came under Obama. The presidency might have some sway on some of these issues.
Even with Trump coming in for America, it still might be too late on some things, Obama did a lot of damage to the nation.