is it ethical to tell an associates and a close friend that she should pay more attention to her work responsibilities, or management will fire her

Ethical, I don't know, but it's a good idea if she wants to keep her job. Just my opinion.