Yeah, that's what they do when they get upset. I've seen mine do that due to excessive handling, changing flow, being stung by a frogspawn, an annoying hermit crab, my poking it, etc. Don't worry, it's temporary. You just need to figure out what was annoying it.