Both anthrax and botulism are noncommunicable. Pathogenic microbes come into the human body through portals of entry and we often pass them on through portals of exit. This is direct transmission if you are less than 1 meter away and the transmission is immediate. Indirect contact transmission is when you acquire pathogens from a previous host but there was an intermediary that carried them to you. If I cough and leave the room and you come in and breath the droplet nuclei suspended in the air, that's indirect transmission and air is the intermediate.
Food is a good intermediate.
Fomites are inanimate objects that carry infectious microbes. If I cough and the microbes fall on the desk and the next person who sits there picks them up on her fingers and then bites her nails, the intermediate is an inanimate object the desk, a fomite. Kleenex, door knobs, toilet seats, faucet handles. Vectors are animate insect intermediates. Mechanical vectors are insects like flies that carry pathogens outside their body.