OOPS! Probably not what you think....
Sounds like she may be constipated and, if she survived, here's how to prevent it happening again. Feed them some brine shrimp (fresh/frozen best) to prevent this. It's pretty rich food so don't overdo but see that they get some several times a week to keep them free flowing and healthy.
These types of fish often have very compacted intestinal tracts that make obstruction a real problem unless they have the right stuff to prevent problems.
Wish you all the best.
Callie