Companies are caught between absorbing the costs or passing them onto customers, according to a Federal Reserve report.