The Court was set up to decide very specific and enumerated issues... not to substitute itself for the legislature.
We do have mechanisms in place to legalize abortion... at a state or national level.
The SC is not ruling that abortion should be illegal... just that it does not have the jurisdiction to rule on this issue.