Markets are driven by the collective perception of the future performance of the company. Sure it is wildly speculative at times, but buying or shorting a stock is ultimately a bet on the future performance of the company.