Relying on luck is dangerous, Jim Cramer says — always understand why your stock is moving