The politicians (politicians - a word that has become an epithet) pushing laws they know are unconstitutional don't care - they figure so long as they cause problems for their political opponents, it doesn't matter since the procedure itself is the punishment. It costs the opposition time and legal fees to fight, and after they win, they've still taken a financial hit, whereas the politicians are financially insulated from their actions.
And then they start all over and do it again - and NOT just with RKBA issues.