Shares of energy companies rose despite a sharp drop in oil futures.