Crypto is fiat currency without even so much as the fiat. Meaning it floats completely at random based on the mood of the participants... which now is driven solely by wanting to sell that crypto to some Greater Fool.
Stock is ownership of a company and entitlement to its profits. If you gamble on an unprofitable company with no assets, then sure, your stock could be worth very little. But even then, the company likely has cashflow or something in its financials that's valuable.
Companies selling stock are also analyzed to death and publish their audited financials.