You can look at pasta and bread the same way.
Potassium perchlorate and powdered aluminum can be used to make flash powder. Just because road flare contains both doesn't mean it's going to explode in your hand.