The regulatory bureaucracy is a lagging, indirect response to bad behavior by previous individuals and businesses. It’s never going to absolutely prevent bad behavior just as speed limits do not actually prevent speeding, but it is a legal tool or cudgel to inhibit the behavior and punish it in retrospect. And that in turn is both to reduce the cost of government from dealing with responses to bad behavior and ensure the politicians get reelected.