Whats the point of changing in the same room but telling me not to peak when the bathroom is 5 feet away?

I was hanging out with my friend who's a woman and she was getting changed and told me not to peak. The bathroom was litterally 5 feet away.

Whats the point of changing in the same room but telling me not to peak when the bathroom is 5 feet away?
Post Opinion