If we only blamed Amazon in your example, then yes, we would only be blaming the victim.
How do we know they were "careless"?? They could have been using all of the correct security precautions and still got the data stolen.
It could have been an employee that installed malware because they fell for a phishing attack. Should they also be brought up on charges?
If my HN account gets compromised, should PG get brought up on charges? After all, he was supposed to protect my data, right?
Why aren't we even discussing the hackers that stole the data? Is it because they are supported here on HN?
In my opinion, this sets the required standard to a completely different class. The tax services have an important responsibility to process their information in a secure way. The information needs to be protected against leaks.
And from the outcome we can see that the protections are not adequate.
There is no way to protect leaks 100%. So you have unrealistic expectations.
Take for example some large corporations. I.e. if Amazon or Google stores their customer information carelessly, and someone steals it - then Amazon would be victim, and if you say that they should have protected the information, you are blaming the victim because you don't like them?
The American revenue service has even larger resources and also a larger responsibility than even the largest of multinational corporations. They should be held accountable for what they do (like the tax officials in any country).