In the US, it is usually completely legal for a photographer to take a picture of someone in a public place (such as outside on the sidewalk as they were) because there is no "reasonable expectation of privacy". This is a First Amendment right. There are however various state laws about harassment and stalking that may come into play.fun fact: it's already indirectly illegalised, as it's illegal to take a picture of someone without their consent in almost every normal country.
Is it Illegal to Take Pictures of People Without Their Permission?