That's a very good point actually. Though in this case they say the tip-off came from a law enforcement agency (I assume they mean an American one).
It's possible however that agency doesn't realise it's a clandestine operation by another US agency. Or they do, but now the operation is complete (this was three years ago) and they want a way of informing yahoo about the breach without admitting who was behind it in the first place.