A police officer looks over your shoulder, sees the X app open, and starts an investigation.
It’s like seatbelt laws or driving without a license, some offenses exist which are usually identified only because some other potential offense else drew attention.