In many cases there has been a single photo of a politician with a mask off. Lots of predatory paparazzi photograph public individuals all day. Catching someone at a bad moment or accidentally doing something is easy.
I think you may be getting downvoted because your response doesn’t relate to the example I gave, where the politician made an explicit statement in contradiction of their own health order.