I took a sip of soda and doubled over in chest pain then nearly passed out why could this happen?

Carbonated beverage. An air bubble formed in your esophagus causing pain and precipitated a vagal reaction, slowing your heart and dropping your pressure. You should be evaluated for vaso-vagal issues by a cardiologist or neurologist familiar with this problem. Some people black out after giving blood for somewhat similar reasons.