It's not even just about children.
When I went to the US for a research visit, I didn't have a car, because my bed and breakfast was in walking distance to the lab (there was even a bus). So, naturally, I walked to a nearby restaurant in the evening, and was stopped by the police, asking me what I was up to. It didn't have any consequences, but still.