Why do they lie on the floor in public places?

Kids have no qualms about lying down just about anywhere, anytime. In line at the grocery store seems like a good place to lie down to them. Sick of walking at the airport — why not take a break in the walkway? It's not only kind of gross, but it's also rather inconvenient. And it makes zero sense.