Because they were frozen raw or weren’t thoroughly blanched. Inadequate blanching didn’t stop enzyme reactions during freezing. Thus, the final product turns black after thawing.