This is because canned foods typically contain some kind of liquid in them, which must follow the liquid limitations rule. Additionally, tins do not X-ray well and are difficult to verify, which poses a security risk. If you absolutely must bring canned goods on the plane, pack them in your checked-in luggage.