I don’t know the guy. I don’t know if he’s a “jerk” or not. But, when people are arrested for being naked in their own home, law enforcement has gone too far.
I’ll go even further: Let’s give you the benefit of the doubt and assume he really did flash her. If she was looking in his window, she was asking to be flashed. Walking across someone’s property and looking into his windows is a big no-no. I never go onto other people’s properties, and I taught my children not to, either. They won’t even step on someone’s lawn unless we’re invited to.
When I was a child, we peeked into a neighbor’s window once and saw him and his girlfriend on the sofa. Well, we shouldn’t have gone peeking into someone’s window. Our parents never thought to call the police, FCOL.
She did not deliberately peek; that is NOT the same.
There are times one cannot help what one sees. That includes seeing things on another property from her yard or from the public street.