The factory used some clever quick disconnects on the fuel system for Miatas made after 1997. They're easy to deal with if you have the right tool and impossible otherwise.
This is that tool.
Pop it over the hard line, slip it up inside the connector and pull on the hose. It'll come apart nicely.