SJS is primarily caused by a hypersensitivity reaction to certain drugs. Common drugs associated with SJS include antiepileptic drugs (such as lamotrigine and carbamazepine), antibiotics like sulfonamides, and nonsteroidal anti-inflammatory drugs (NSAIDs). In some cases, infections such as Mycoplasma pneumoniae can also trigger SJS.