Lump in throat is not necessarily from direct contact by bile, pepsin etc. There is research evidence that it can be a result of irritation/reflux in the lower esophagus.
In short, it is the body's defense mechanism against reflux. It makes the person want to swallow and/or keeps stuff "down" that the lower esophagus feels coming up for whatever reason.