Basic accounting? If you used to pay $X for something and a new tax goes into effect that makes it $X * 5% tax, you can hide that into the overall price or be transparent to your customers about why your prices are increasing.
> they can shut down and find a job
Love it. The financial equivalent of "Why should I care about farmers? I buy my food at the store".
> Owning a business isn’t a right
If you're not allowed to independently make a living, but must be a wage slave for a different entity, then none of your other fundamental human rights really matter. The right to start your own business is one of the most fundamental human rights.
When you run an otherwise stable business and have records going back far enough it's pretty easy to see the "cost" of a any given change in how you run things especially if that change has a labor/materials impact that is pretty isolated and countable.