I imagine they react similarly to any severe "stress"... you would have to figure out what's causing the stress; oxygen, light, temperature, some predator (or perceived predator like the neighbor kids chasing them around the tank), or maybe some imbalance in the water quality parameters.

I honestly don't know.