Loose calque of Chinese 豆腐 (dòufu), from Middle Chinese 豆 (dəuH, “bean”) + 腐 (bɨoX, “rotten, fermented”).
bean curd (countable and uncountable, plural bean curds)