At least in this case, it was based upon the state constitution.
Typically, state supreme courts have deferred to federal courts for the federal Constitution......doesn’t mean that always happens though.
The decision usurped the elected legislature. As in MA and VT, it was based on the feelings of the judges. No legislature or people when given the chance have supported faggot marriage.