Maybe she's just going through some shit? You could distance yourself a little for a while, and see if she stops being snarky, or if you just need to be friendly-not-friends. Or you could tell her she's seemed 'on edge' or something recently, and ask her what's up — if she's snarky in response to that, though, then…