Rising profits, acquisitions, cost-control measures and other factors helped some companies convince investors they were worth putting money into, while warnings of downward pressure on prices, slowing revenue and volatile raw material prices prompted investors to flee others.