Today I went to Petco to pick up some stuff for Gawain (poor thing has mysteriously managed to totally shred his fins

) and I saw the weirdest thing. At least ten or fifteen of the bettas they had on display were laying on their sides at the top of their cups. I of course assumed they were dead, but when I got closer to take a look at one, it flipped right over and started swimming around like nothing was wrong. The others did the same thing!
I'm just totally curious as to why they were doing that.