Because they were dried and crushed into a white powder.
Castor beans contain small amounts of ricin, which can be extracted from them. The extract is a white powder.
No, the white powder was harmless and sent to Ted Cruz. The letters to Mattis, Richardson, and Trump contained unprocessed castor beans.