Our's do that as well. It's literally this :V
And sometimes, especially when it's very sunny, they lay down and spread their wings, which looks like they are dying, but actually it's a kind of sunbath that helps maintain their health. I was worried the first time I saw it.