There was an in-air aircraft fire, flight UPS 006, that crashed because of the damage from the fire. The aircraft has palettes of lithium batteries that somehow caught fire. Trying to put out a lithium fire is extremely difficult and conventional firefighting techniques are either ineffective or contributes to the fire. They learned to limit the battery load, battery size, battery charge. This is also why they don’t want you putting anything with lithium batteries in the cargo hold. If a lithium battery catches fire in the passenger cabin, it will be identified far more quickly, with more opportunity to contain it.
There’s a Reddit user who goes by the name Admiral Cloudberg. She wrote an article about UPS 006, and did a podcast as well. Please note neither pilot survived, but the copilot survived the longest and, well, let’s just say he did everything humanly possible and is a >!fucking!< hero for his efforts. It’s not an easy read emotionally, but it was one of the flights that directly impacted the handling of lithium batteries on planes.
https://admiralcloudberg.medium.com/alone-in-the-inferno-the-crash-of-ups-airlines-flight-6-507d13f3e481
Because the International Air Transport Association has produced guidance (https://www.iata.org/contentassets/6fea26dd84d24b26a7a1fd5788561d6e/passenger-lithium-battery.pdf) that most (all?) carriers accept.
Why have they produced that guidance? Because of the risk of fire if lithium rechargeable batteries are faulty or damaged. The bigger the battery, the more energy they may store, and the harder any such fire will be to contain or extinguish.
Latest Answers