As with any time it exercises its prosecutorial or police powers the government is not supposed to get involved in attacking legal conduct. Especially if the conduct involves the excercise of speech, which is protected by the First Amendment.

The other issue would be motive.

Some think the motive was to "get back" at Wilson.

Others think the motive was an attempt to point out that Wilson was unqualified for his post and there only because of nepotism. Bringing to light unqualified people holding government authority because of nepotism is far less sinister.