Relative alignment between gas structures and magnetic field in Orion A at different scales using different molecular gas tracers