Guns and Abortion: Contradictory Supreme Court Decisions or Consistent?

From an AP story by Kate Brumback, Adam Geller, and Michael Tarm headlined “Guns and abortion: Contradictory decisions, or consistent?”:

They are the most fiercely polarizing issues in American life: abortion and guns. And two momentous decisions by the Supreme Court in two days have done anything but resolve them, firing up debate about whether the court’s conservative justices are being faithful and consistent to history and the Constitution — or citing them to justify political preferences.

To some critics, the rulings represent an obvious, deeply damaging contradiction. How can the court justify restricting the ability of states to regulate guns while expanding the right of states to regulate abortion?