Strictly speaking, that's how civil law works, spelling out explicitly the statutes.
By contrast, common law statutes can be (but are not always), more concise but more vague, putting greater emphasis on the courts to interpret them.
That is one reason USA is more litigious, but it probably isn't the only reason. After all, Germany has the infamous legal bounty hunters (one of the words may be "Abmahnanwälte" but I think there's a different one), and Germany is a civil law country, so USA being common law can't fully explain it.