1
Either he panicked, didn't have the nerve to just take the ticket and act normal, he was known to police, or (this is the most likely when you hear stories like this) someone talked and this is a cover story for the informant, the cops set up a situation to force probable cause.