A top aide to Attorney General Alberto Gonzales abruptly quit Friday, almost two weeks after telling Congress she would not testify about her role in the firings of federal prosecutors.

There was no immediate reason given, but Monica M. Goodling’s refusal to face Congress had intensified a controversy that threatens Gonzales’ job.