Some legislators - perhaps honest idealists, perhaps those being paid more by lawyers specializing in such lawsuits - do work at getting such laws passed.
Considering the endless vistas of billboards advertising lawyers for personal injury lawsuits and such in my part of Michigan - I feel pretty sure that >50% of our legislators are enrolled in those lawyers' "gratitude programs".