Gut bacteria can produce a clot-enhancing compound when people eat a nutrient found in a variety of foods including meat, eggs and milk, according to new research.