Iron tablets are not hard because they dont contain iron in pure form.
Iron in its pure metallic form is hard, strong and long lasting. It can be used to produce building materials such as iron nails.
Iron in iron tablets has reacted to form a compound. Metallic properties are destroyed and the compound is able to make iron available in a form that can be absorbed by the body.