You'd need to know the details. Perhaps the company had taken on debt during earlier rounds of funding, and was obliged to pay back the debt to those investors before there was any profit left for stockholders. So the company was bankrupt after paying back some or all of its debt.
Or perhaps the common stockholders are just getting screwed.
The suggestion to pursue legal advice is a good one.