The company is gouging the public. These people aren't looking at all of the costs. Other costs are pretty much common sense. There are fixed costs that don't change much from month to month. These might include payroll, taxes, rent, utilities, insurance, interest payments on loans and similar things.
Variable costs can change rapidly, often without warning.
These might include the costs of meeting new government regulations, lawsuits and costs that change because other prices change. Some of the latter include the cost of shipping as gas prices rise, and the cost of certain components as higher prices are charged for raw materials, such as plastics manufactured from the same oil whose prices drove up the cost of transportation. Add in trying to anticipate inflation, and the process does look more like an art. Another cost is marketing, which can be a riddle. It is a problem that seems to be without a solution, because you can't sell your product without marketing, but you can't do marketing without the money you get from the sales.