the answer seemed to be the effects of Palpatine's Force lightning, which electrocuted him as he attempted to use it against Mace Windu. However, inconsistencies in Star Wars movies and TV shows ...