It's not punishment.  It's just that the government made the cost of doing business more expensive.  So prices will rise.

Suppose the government mandated that grocery stores must provide taxi service to and from the grocery store for people who need it.  Probably a lot of people wouldn't use the service, but it would be highly valuable for people without cars, or with certain disabilities.  If those people can't be charged more, then the grocery store would simply implement price hikes across the board.  People who don't need or want the taxi service might be stuck paying 30-50% more for groceries.