I've received many phishing emails claiming that my account has been hacked. So that is a case of someone "pointing out an attack" who is actually causing the attack. Even technologically knowledgeable people fall for phishing (I haven't though).
Why would you hack someone and then tell them you did it (without asking for ransom or something)? Of course the person telling you has good intentions.