Many businesses are grappling with rising costs at a time when consumers are watching their finances.