HCAs form when amino acids, sugars, and creatine react at high temperatures, typically during grilling or frying. PAHs, on the other hand, are formed when fat and juices from meat drip onto an open flame, causing the formation of smoke that contains PAHs. This smoke then adheres to the surface of the meat, leading to contamination.