Indeed. To provide background for others, by the early 1970s various US states had legalized abortion. In Roe v. Wade, however, the Supreme Court ruled that abortion was a constitutional right, abruptly legalizing it nationwide with more or less no restrictions whatsoever; even many abortion-rights supporters believe that the legal theory behind the decision was faulty (https://en.wikipedia.org/wiki/Roe_v._Wade#Legal). The result was so across-the-board that, among other things, the US still allows abortions to occur later than anywhere else.
Preventing the full political debate process from occurring is why abortion remains so controversial in the country almost 50 years and counting. Because such issues are polarizing and partisan, they need full discussion in a legislature, as opposed to unelected judges unilaterally short-circuiting the debate.