https://www.aviation-accidents.net/thai-airways-boeing-b737-400-hs-tdc-flight-tg114/
https://en.m.wikipedia.org/wiki/Philippine_Airlines_Flight_143
Both aircraft were at the gate when the explosions occurred.
My understanding of TWA was that it was a chaffed wire from a capacitor type fuel quantity indicating system.
Looking at the links, thanks!