I'm going to opine that it's a violation of ECOA, but not for the reason you might suspect.
The true reason this applicant was denied, I suspect, is that the applicant was overextended or had not handled credit well (thus the request for counseling). If that's the true reason, that's what should have appeared on the AA notice.
Failure to provide the specific reason for the AA is the violation that I see here.