Most (probably 98.5+%) of legislators primary purpose in making laws is to show the people that they're doing something about X. Even if the law just duplicates existing laws, or won't actually change X, they still get to thump their chests and say, "I care about problem X, and my [opponent/opposing party] doesn't."
Brian Bronson