When two or more states, such as in this case are having certain dispute then the Supreme Court is having the jurisdiction.
For example this was especially often during the period when the country was created, as the states had border disputes. In those cases Supreme Court brought main decisions.