Yes, a muscle spasm in your esophagus or a gallbladder attack may also cause chest pain. If you’re unsure about what’s causing your symptoms, see your doctor immediately.