Because they have the potential to be monetized. I have wild success with Reddit ads even though you can tell the ads products never receive much love (or maybe that's just Reddit generally).
Companies are valued based on discounted future cash flow. In other words, investors are betting that at some point in time Reddit will generate billions, even when adjusted for a discount for time. That's not crazy at all to me to see that happening.