Astrochemistry of submillimeter sources in Orion. Studying the variations of molecular tracers with changing physical conditions