Ellie does that when she is bored. She also gets upset and acts terribly ill and lethargic when she has a onesie on.

But she did it for the longest time once. We bought her a new squeaky ball (her old one got thrown out or something). That snapped her right out of it. Laying around has got to bore the heck outta them.