As the son of a federal employee, I feel I should address this specific sentence. Let's not confuse a couple of jerks for the entirety of the federal government. Many large organizations produce stupid, indefensible actions but I feel like your phrasing is overly broad.
Would you be sitting here blaming the girl and the restraining order laws in the US?
I feel like many people here are trying to get their own opinions out by blaming the law that he broke (and the government).
A restraining order is also very different from the threat of excessive imprisonment.
If it was a threat of excessive imprisonment in your hypothetical situation, yes, the courts and laws would get a share in the blame. Not specifically for committing suicide, but for making your life needlessly worse.
That would put anyone under a massive amount of pressure, and does seem pretty unpleasant given his "crime" was so small.