Given the task definition and input, reply with output. Given scene/plot descriptions from movies or TV shows, and given a specific question about the scene, summarize the question into a title

In the film Donnie Brasco, why did the FBI tell the mafia that Donnie was an undercover agent? What am I missing? Why does the FBI seem stupid?
In the film Donnie Brasco, why did the FBI tell the mafia that Donnie was an undercover agent?