Last time I saw this behavior I had a hidden chicken mite infestation. I'd say that you need to check for pests first, then see what other physical factors might be frightening them. Hens don't normally sleep on the ground, so when they choose to there has to be something really frightening or...