Spectropolarimetric Observation of an Emerging Flux Region: Triggering Mechanisms of Ellerman Bombs