If a pill gets stuck in your throat, it can dissolve. That releases chemicals onto your throat lining, which causes inflammation and pain.