Why A Soft, Explosive Metal Has Any Business In Exhaust Valves

Cars' engines have to resist tremendous pressure and heat up to 3,000 degrees. So what in the world is a soft, explosive metal doing in their exhaust valves?